Satellite Server Automated Reboot
- Dec
- 04
- Posted by TKH Specialist
- Posted in Satellite
Automating the patch cycle with Satellite v6 series is not all that difficult, with one gotcha, rebooting. My initial setup had a test to see if there were any patches that would require a reboot and if so reboot. However, the servers did not reboot as expected. It seems the remote execution process was skipping the reboot command due to some delay. The fix is to issue the following command which provides enough of a delay to have the reboot command picked up and executed. The same holds true when using the shutdown command.
echo restart host && sleep 3
reboot
Recent Comments
- Stefan on Flush This!
- Timestamping your Bash History | Matt's Entropy on Remember when you issued that command…?
- Matt Smith on Remember when you issued that command…?
- Ruan on Putting ‘lsof’ to use
- Dylan F. Marquis on External Mapping of LDAP attributes in CAS