Last active
January 3, 2016 14:49
Revisions
-
philips renamed this gist
Jan 17, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
philips created this gist
Jan 17, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ This is a temporary workaround to disable auto updates. As we move out of the alpha there will be a nicer method. ## Add a unit file to stop update-engine-reboot-manager There is a single simple script called "update-engine-reboot-manager" that does an automatic reboot after update-engine applies an update to your CoreOS machine. To stop automatic reboots after an update has been applied you need to stop this daemon. You can do this via a service file that is started at boot. Create a file called `/media/state/units/stop-reboot-manager.service` that has the following contents: ``` [Unit] Description=stop update-engine-reboot-manager [Service] Type=oneshot ExecStart=/usr/bin/systemctl stop update-engine-reboot-manager [Install] WantedBy=local.target ``` ## Enable it immediatly ``` sudo systemctl enable --runtime /media/state/units/stop-reboot-manager.service sudo systemctl start stop-reboot-manager.service ``` Have fun!