Skip to content

Instantly share code, notes, and snippets.

@kojiwell
Last active December 17, 2015 17:39
Show Gist options
  • Save kojiwell/5647787 to your computer and use it in GitHub Desktop.
Save kojiwell/5647787 to your computer and use it in GitHub Desktop.
#cloud-config
#
# cloudinit-example.yaml
#
# Enable root login.
disable_root: false
# Install packages
package_update: true
packages:
- build-essential
- apache2
- mysql-client
- php5
- libapache2-mod-php5
# Add some more ssh public keys.
ssh_authorized_keys:
- ssh-rsa AAAfkdfeiekf.................................................................fES7060rb me@host1
- ssh-rsa AAAAAAkgeig78...skdfjeigi me@host2
package_upgrade: true
package_reboot_if_required: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment