Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Container Linux Config - disable #2548
I am using the Container Linux Config to disable Automatic Updates on my CoreOS instance.
My Container Linux Config code is as follows:
Container Linux Version
What hardware/cloud provider/hypervisor is being used to run Container Linux?
Google Compute Engine(GCP)
The update-engine.service and locksmithd.service should stop
The update-engine.service and locksmithd.service do not stop or disable.
It says - 'Container Linux Config' in the CoreOs link here: https://coreos.com/os/docs/latest/update-strategies.html
The configs on that page are Container Linux Configs. In your example though, I see
First, I have to ask: why are you disabling automatic updates?
Second, the config you are looking for is in https://coreos.com/os/docs/latest/update-strategies.html#disable-automatic-updates-daemon. If you click on the Ignition tab, you can copy and paste that into the instance's userdata.
We are not using ignition so I copied the Container Linux Config code from the same location that you mentioned. I added the
Can I ask why you aren't using Ignition? If you aren't using Ignition, then you can't using Container Linux Configs either. You'll need to use cloud-configs, which have long been deprecated. As I mentioned in the reference bug, coreos-cloudinit is riddled with race conditions which is why you need to both mask and stop the service.
The systemctl output is a little misleading. It only considers symlinks under