================================================================================
Error executing action restart on resource 'service[network]'
Mixlib::ShellOut::ShellCommandFailed
Expected process to exit with [0], but received '5'
---- Begin output of /bin/systemctl --system restart network ----
STDOUT:
STDERR: Failed to restart network.service: Unit network.service not found.
---- End output of /bin/systemctl --system restart network ----
Ran /bin/systemctl --system restart network returned 5
getting this issue with
RHEL8
Issue
: Recipe: hostname::default service[network] action restart================================================================================ Error executing action
restart
on resource 'service[network]'Mixlib::ShellOut::ShellCommandFailed
Expected process to exit with [0], but received '5' ---- Begin output of /bin/systemctl --system restart network ---- STDOUT: STDERR: Failed to restart network.service: Unit network.service not found. ---- End output of /bin/systemctl --system restart network ---- Ran /bin/systemctl --system restart network returned 5