diff options
author | Scott Moser <smoser@brickies.net> | 2013-04-03 17:29:32 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2013-04-03 17:29:32 -0500 |
commit | 3ed5f780fed21fb02b2c86b1f54650f92c941f36 (patch) | |
tree | 6d4a5c632726a662a7eea512c99e0d95c162fc69 /doc | |
parent | 7dac7bbd48bb56971c2fddfcf13d439d577740c1 (diff) | |
parent | 05c22e4f202332332de051e6849bbf5210aa19f6 (diff) | |
download | vyos-cloud-init-3ed5f780fed21fb02b2c86b1f54650f92c941f36.tar.gz vyos-cloud-init-3ed5f780fed21fb02b2c86b1f54650f92c941f36.zip |
invoke dist-upgrade instead of upgrade for apt upgrades
dist-upgrade is generally more correct here to get all packages upgraded.
We add the options to change these in system_info. Also, document
the previous apt configuration change (apt_get_command).
LP: #1164147
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/cloud-config.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt index 09298655..24b4b36c 100644 --- a/doc/examples/cloud-config.txt +++ b/doc/examples/cloud-config.txt @@ -125,6 +125,24 @@ apt_sources: =Y2oI -----END PGP PUBLIC KEY BLOCK----- +## apt config via system_info: +# under the 'system_info', you can further customize cloud-init's interaction +# with apt. +# system_info: +# apt_get_command: [command, argument, argument] +# apt_get_upgrade_subcommand: dist-upgrade +# +# apt_get_command: +# To specify a different 'apt-get' command, set 'apt_get_command'. +# This must be a list, and the subcommand (update, upgrade) is appended to it. +# default is: +# ['apt-get', '--option=Dpkg::Options::=--force-confold', +# '--option=Dpkg::options::=--force-unsafe-io', '--assume-yes', '--quiet'] +# +# apt_get_upgrade_subcommand: +# Specify a different subcommand for 'upgrade. The default is 'dist-upgrade'. +# This is the subcommand that is invoked if package_upgrade is set to true above. + # Install additional packages on first boot # # Default: none |