# If this is set, 'root' will not be able to ssh in and they # will get a message to login instead as the above $user (ubuntu) disable_root: False user: root ssh_pwauth: False ssh_deletekeys: True ssh_genkeytypes: ['rsa', 'dsa'] ssh_svcname: sshd

# This will cause the set+update hostname module to not operate (if true) preserve_hostname: false cc_ready_cmd: ['/bin/true'] mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2'] syslog_fix_perms: ~ manage_etc_hosts: True

# Update and upgrade system on first boot apt_preserve_sources_list: True package_update: True package_upgrade: True package_reboot_if_required: True

# work only with OpenNebula, use network based datasource, # so that we can successfully resolve IPv4 based hostname disable_ec2_metadata: True datasource_list: ['OpenNebula'] datasource:

OpenNebula:
  dsmode: net

# The modules that run in the 'init' stage cloud_init_modules:

- migrator
- seed_random
- bootcmd
- write-files
- growpart
- resizefs
- set_hostname
- update_hostname
- update_etc_hosts
- ca-certs
- rsyslog
- users-groups
- ssh

# The modules that run in the 'config' stage cloud_config_modules: # Emit the cloud config ready event # this can be used by upstart jobs for 'start on cloud-config'.

- emit_upstart
- disk_setup
- mounts
- ssh-import-id
- locale
- set-passwords
- grub-dpkg
- apt-pipelining
- apt-configure
- package-update-upgrade-install
- landscape
- timezone
- puppet
- chef
- salt-minion
- mcollective
- disable-ec2-metadata
- runcmd
- byobu

# The modules that run in the 'final' stage cloud_final_modules:

- rightscale_userdata
- scripts-per-once
- scripts-per-boot
- scripts-per-instance
- scripts-user
- ssh-authkey-fingerprints
- keys-to-console
- phone-home
- final-message
- power-state-change

# System and/or distro specific settings # (not accessible to handlers/transforms) system_info:

# This will affect which distro class gets used
distro: rhel
# Other config here will be given to the distro class and/or path classes
paths:
   cloud_dir: /var/lib/cloud/
   templates_dir: /etc/cloud/templates/
   upstart_dir: /etc/init/
package_mirrors:
  - arches: [default]
    failsafe:
      primary: http://http.us.debian.org/debian/
      security: http://security.debian.org/
ssh_svcname: sshd

# vim:syntax=yaml