Continued adding more comments about what each section/option does.

Continued adding more system info sections as needed for various components.
Enabled the welcome transform.
This commit is contained in:
Joshua Harlow
2012-06-15 17:44:53 -07:00
parent 92635ee5e1
commit 3b6745531e

View File

@@ -1,8 +1,26 @@
user: ubuntu # The top level settings are used as transforms
disable_root: 1 # and system configuration.
preserve_hostname: False
# This user will have its passwd adjusted
user: ubuntu
# 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
disable_root: true
# This will cause the set+update hostname module to not operate (if true)
preserve_hostname: false
# Example datasource config
# datasource:
# Ec2:
# metadata_urls: [ 'blah.com' ]
# timeout: 5 # (defaults to 50 seconds)
# max_wait: 10 # (defaults to 120 seconds)
# The transform modules that run in the 'init' stage
cloud_init_modules: cloud_init_modules:
- welcome
- bootcmd - bootcmd
- resizefs - resizefs
- set_hostname - set_hostname
@@ -12,6 +30,7 @@ cloud_init_modules:
- rsyslog - rsyslog
- ssh - ssh
# The transform modules that run in the 'config' stage
cloud_config_modules: cloud_config_modules:
- mounts - mounts
- ssh-import-id - ssh-import-id
@@ -30,6 +49,7 @@ cloud_config_modules:
- runcmd - runcmd
- byobu - byobu
# The transform modules that run in the 'final' stage
cloud_final_modules: cloud_final_modules:
- rightscale_userdata - rightscale_userdata
- scripts-per-once - scripts-per-once
@@ -40,9 +60,15 @@ cloud_final_modules:
- phone-home - phone-home
- final-message - final-message
# System and/or distro specific settings
system_info: system_info:
paths: # This will affect which distro class gets used
cloud_dir: /var/lib/cloud/
templates_dir: /etc/cloud/templates/
upstart_dir: /etc/init/
distro: ubuntu distro: ubuntu
# 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_mirror: "http://archive.ubuntu.com/ubuntu"
availability_zone_template: "http://%(zone)s.ec2.archive.ubuntu.com/ubuntu/"
ssh_svcname: ssh