Skip to content

Instantly share code, notes, and snippets.

@jeremyd
Created November 10, 2012 07:41
Show Gist options
  • Save jeremyd/4050321 to your computer and use it in GitHub Desktop.
Save jeremyd/4050321 to your computer and use it in GitHub Desktop.
cloud.cfg for archlinux
disable_root: false
preserve_hostname: false
# The modules that run in the 'init' stage
cloud_init_modules:
- bootcmd
- write-files
- set_hostname
- update_hostname
- update_etc_hosts
- 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'.
- runcmd
# 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
- final-message
system_info:
distro: ubuntu
paths:
cloud_dir: /var/lib/cloud/
templates_dir: /etc/cloud/templates/
ssh_svcname: sshd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment