Automatic updates are automatically part of every seed provisioning. If you want to customize the settings around automatic system updates/upgrades, you can do so within the “Customize” section of the launcher via JSON attributes.

Screenshot from 2015-01-13 17:06:19

Below are the attributes you can add in order to customize automatic updates. The updates would be applied via JSON:

{
  ...
  "apt_periodic": {
      "auto_apt_enable": "1",
      "update_interval": "1",
      "unattended_upgrades": {
         ...
         "mail": "me@mydomain.com",
         "mail_only_on_error": "true"
         ...
      },
      ...
  }

Available Attributes

default[‘apt_periodic’][‘auto_apt_enable’] = “1”
default[‘apt_periodic’][‘update_interval’] = “1”
default[‘apt_periodic’][‘download_upgradeable_interval’] = “0”
default[‘apt_periodic’][‘debdelta’] = “1”
default[‘apt_periodic’][‘autoclean_interval’] = “0”
default[‘apt_periodic’][‘backup_level’] = “3”
default[‘apt_periodic’][‘backup_archive_interval’] = “0”
default[‘apt_periodic’][‘random_sleep’] = “1800”
default[‘apt_periodic’][‘verbose’] = “0”
default[‘apt_periodic’][‘min_age’] = “2”
default[‘apt_periodic’][‘max_age’] = “0”
default[‘apt_periodic’][‘max_size’] = “0”
default[‘apt_periodic’][‘unattended_upgrade_interval’] = “0”
default[‘apt_periodic’][‘unattended_upgrades’][‘package_blacklist’] = []
default[‘apt_periodic’][‘unattended_upgrades’][‘auto_fix_interrupted_dpkg’] = “true”
default[‘apt_periodic’][‘unattended_upgrades’][‘minimal_steps’] = “false”
default[‘apt_periodic’][‘unattended_upgrades’][‘install_on_shutdown’] = “false”
default[‘apt_periodic’][‘unattended_upgrades’][‘mail’] = “”
default[‘apt_periodic’][‘unattended_upgrades’][‘mail_only_on_error’] = “false”
default[‘apt_periodic’][‘unattended_upgrades’][‘remove_unused_dependencies’] = “true”
default[‘apt_periodic’][‘unattended_upgrades’][‘automatic_reboot’] = “false”