090f910
# The top level settings are used as module
090f910
# and system configuration.
090f910
090f910
# A set of users which may be applied and/or used by various modules
090f910
# when a 'default' entry is found it will reference the 'default_user'
090f910
# from the distro configuration specified below
b792554
users:
b792554
 - default
b792554
090f910
# If this is set, 'root' will not be able to ssh in and they
090f910
# will get a message to login instead as the above user (fedora).
090f910
disable_root: true
090f910
090f910
# This will cause the set+update hostname module to not operate (if true)
090f910
preserve_hostname: false
4907847
4907847
mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2']
87f3319
ssh_deletekeys:   0
f3b8d56
ssh_genkeytypes:  ~
3135871
syslog_fix_perms: ~
4907847
090f910
# Example datasource config
090f910
# datasource:
090f910
#    Ec2:
090f910
#      metadata_urls: ['blah.com']
090f910
#      timeout: 5 # (defaults to 50 seconds)
090f910
#      max_wait: 10 # (defaults to 120 seconds)
090f910
090f910
# The modules that run in the 'init' stage
4907847
cloud_init_modules:
d15a872
 - migrator
45ef3b0
 - seed_random
4907847
 - bootcmd
45ef3b0
 - write_files
d15a872
 - growpart
4907847
 - resizefs
090f910
 - disk_setup
090f910
 - mounts
4907847
 - set_hostname
b792554
 - update_hostname
b792554
 - update_etc_hosts
4907847
 - rsyslog
b792554
 - users-groups
4907847
 - ssh
4907847
090f910
# The modules that run in the 'config' stage
4907847
cloud_config_modules:
4907847
 - locale
4907847
 - set-passwords
af5c508
 - yum-add-repo
090f910
 - ntp
4907847
 - timezone
4907847
 - disable-ec2-metadata
4907847
 - runcmd
4907847
090f910
# The modules that run in the 'final' stage
4907847
cloud_final_modules:
090f910
 - package-update-upgrade-install
090f910
 - puppet
090f910
 - chef
090f910
 - salt-minion
090f910
 - mcollective
4907847
 - rightscale_userdata
45ef3b0
 - scripts-vendor
4907847
 - scripts-per-once
4907847
 - scripts-per-boot
4907847
 - scripts-per-instance
4907847
 - scripts-user
b792554
 - ssh-authkey-fingerprints
4907847
 - keys-to-console
4907847
 - phone-home
4907847
 - final-message
45ef3b0
 - power-state-change
4907847
090f910
# System and/or distro specific settings
090f910
# (not accessible to handlers/transforms)
b792554
system_info:
090f910
  # This will affect which distro class gets used
090f910
  distro: fedora
090f910
  # Default user name + that default user's groups
65f8d37
  default_user:
9670285
    name: fedora
65f8d37
    lock_passwd: true
090f910
    gecos: Fedora
9670285
    groups: [wheel, adm, systemd-journal]
65f8d37
    sudo: ["ALL=(ALL) NOPASSWD:ALL"]
65f8d37
    shell: /bin/bash
b792554
  paths:
b792554
    cloud_dir: /var/lib/cloud
b792554
    templates_dir: /etc/cloud/templates
b792554
  ssh_svcname: sshd
b792554
4907847
# vim:syntax=yaml