-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable unattended upgrades which are enabled by default in 16.04 (see #73) #74
Conversation
Tested with a local packer build. Box works, UPDATE: for some reason it did not work. The apt-daily.service and apt-daily.timer were still enabled once the box booted. Have to dig a bit deeper... |
Right after booting up the freshly built box:
Looks like the disabled setting got somehow reverted back to vendor defaults during the packaging process :-/ |
Instead of mangling with the apt-service units, it might be better to leave them enabled as per the vendor preset and rather adapt the apt config instead. Currently periodic updates and unattended upgrades are enabled:
|
…n disabling systemd services
I was an idiot, and the Ubuntu 16.04 specific part in |
While the current approach (with @annawake what do you think? |
A better approach is to handle this in the preseed per chef/bento@51e33c5 - using this change instead and/or systemctl where appropriate |
Glad you fixed it! could you release that fix to atlas? |
@annawake yes the chef/bento@51e33c5 approach looks better, but looks like it does not help for the desktop variant of the ubuntu box.
|
That's my minimal attempt to fix #73
Have not tested it yet, but will trigger a packer build as soon as I have a stable internet connection
Btw: does this also run in some kind of internal CI build / test harness on your side? :)