45
48
# See sources.list man page for more information about the format
46
49
- source: deb http://archive.ubuntu.com/ubuntu karmic-backports main universe multiverse restricted
51
# sources can use $MIRROR and $RELEASE and they will be replaced
52
# with the local mirror for this cloud, and the running release
53
# the entry below would be possibly turned into:
54
# - source: deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu natty multiverse
55
- source: deb $MIRROR $RELEASE multiverse
48
57
# this would have the same end effect as 'ppa:byobu/ppa'
49
58
- source: "deb http://ppa.launchpad.net/byobu/ppa/ubuntu karmic main"
50
59
keyid: F430BBA5 # GPG key ID published on a key server
246
255
# rather than as the 'ubuntu' user, then you must set this to false
248
257
disable_root: false
259
# set the locale to a given locale
260
# default: en_US.UTF-8
263
# add entries to rsyslog configuration
264
# The first occurance of a given filename will truncate.
265
# subsequent entries will append.
266
# if value is a scalar, its content is assumed to be 'content', and the
267
# default filename is used.
268
# if filename is not provided, it will default to 'rsylog_filename'
269
# if filename does not start with a '/', it will be put in 'rsyslog_dir'
270
# rsyslog_dir default: /etc/rsyslog.d
271
# rsyslog_filename default: 20-cloud-config.conf
273
- ':syslogtag, isequal, "[CLOUDINIT]" /var/log/cloud-foo.log'
274
- content: "*.* @@192.0.2.1:10514"
275
- filename: 01-examplecom.conf
277
*.* @@syslogd.example.com
279
# resize_rootfs should the / filesytem be resized on first boot
280
# this allows you to launch an instance with a larger disk / partition
281
# and have the instance automatically grow / to accomoddate it
282
# set to 'False' to disable
285
# if hostname is set, cloud-init will set the system hostname
286
# appropriately to its value
287
# if not set, it will set hostname from the cloud metadata
291
# default: cloud-init boot finished at $TIMESTAMP. Up $UPTIME seconds
292
# this message is written by cloud-final when the system is finished
294
final_message: "The system is finally up, after $UPTIME seconds"
296
# configure where output will go
297
# 'output' entry is a dict with 'init', 'config', 'final' or 'all'
298
# entries. Each one defines where
299
# cloud-init, cloud-config, cloud-config-final or all output will go
300
# each entry in the dict can be a string, list or dict.
301
# if it is a string, it refers to stdout and stderr
302
# if it is a list, entry 0 is stdout, entry 1 is stderr
303
# if it is a dict, it is expected to have 'output' and 'error' fields
304
# default is to write to console only
305
# the special entry "&1" for an error means "same location as stdout"
306
# (Note, that '&1' has meaning in yaml, so it must be quoted)
308
init: "> /var/log/my-cloud-init.log"
309
config: [ ">> /tmp/foo.out", "> /tmp/foo.err" ]
311
output: "| tee /tmp/final.stdout | tee /tmp/bar.stdout"
315
# phone_home: if this dictionary is present, then the phone_home
316
# cloud-config module will post specified data back to the given
320
# url: http://my.foo.bar/$INSTANCE/
325
url: http://my.example.com/$INSTANCE_ID/
326
post: [ pub_key_dsa, pub_key_rsa, instance_id ]
328
# timezone: set the timezone for this instance
329
# the value of 'timezone' must exist in /usr/share/zoneinfo