Skip to content

Instantly share code, notes, and snippets.

@bn4t
Created October 11, 2018 12:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bn4t/7a6ec1ef8b863e314740aa6e18606585 to your computer and use it in GitHub Desktop.
Save bn4t/7a6ec1ef8b863e314740aa6e18606585 to your computer and use it in GitHub Desktop.
cloud-init unattended upgrades
#!/bin/sh
echo unattended-upgrades unattended-upgrades/enable_auto_updates boolean true | debconf-set-selections
apt-get -y install unattended-upgrades
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment