~avishai-ish-shalom/cloud-init/chef-refactor

« back to all changes in this revision

Viewing changes to doc/examples/cloud-config.txt

  • Committer: Scott Moser
  • Date: 2013-04-03 22:29:32 UTC
  • mfrom: (805.1.1 trunk.dist-upgrade)
  • Revision ID: smoser@brickies.net-20130403222932-nar7ddandu1050yn
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).

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
      =Y2oI
126
126
      -----END PGP PUBLIC KEY BLOCK-----
127
127
 
 
128
## apt config via system_info:
 
129
# under the 'system_info', you can further customize cloud-init's interaction
 
130
# with apt. 
 
131
#   system_info:
 
132
#    apt_get_command: [command, argument, argument]
 
133
#    apt_get_upgrade_subcommand: dist-upgrade
 
134
#
 
135
# apt_get_command:
 
136
#  To specify a different 'apt-get' command, set 'apt_get_command'.
 
137
#  This must be a list, and the subcommand (update, upgrade) is appended to it.
 
138
#  default is:
 
139
#    ['apt-get', '--option=Dpkg::Options::=--force-confold',
 
140
#     '--option=Dpkg::options::=--force-unsafe-io', '--assume-yes', '--quiet']
 
141
#
 
142
# apt_get_upgrade_subcommand:
 
143
# Specify a different subcommand for 'upgrade. The default is 'dist-upgrade'.
 
144
# This is the subcommand that is invoked if package_upgrade is set to true above.
 
145
 
128
146
# Install additional packages on first boot
129
147
#
130
148
# Default: none