cloud-init/doc/examples/cloud-config-launch-index.txt
Joshua Harlow 5e3fc66462 Add some examples on how to use the new launch-index
support in a cloud-archive format as well as a cloud-config
format and explain how this will affect the final userdata
available to an instance.
2012-08-31 18:22:01 -07:00

24 lines
594 B
YAML

#cloud-config
# vim: syntax=yaml
#
# This is the configuration syntax that can be provided to have
# a given set of cloud config data show up on a certain launch
# index (and not other launches) by provided a key here which
# will act as a filter on the instances userdata. When
# this key is left out (or non-integer) then the content
# of this file will always be used for all launch-indexes
# (ie the previous behavior).
launch-index: 5
# Upgrade the instance on first boot
# (ie run apt-get upgrade)
#
# Default: false
#
apt_upgrade: true
# Other yaml keys below...
# .......
# .......