2019-12-14 14:12:55 -05:00
|
|
|
Content-Type: text/cloud-config; charset="us-ascii"
|
|
|
|
MIME-Version: 1.0
|
|
|
|
|
|
|
|
#cloud-config
|
2020-01-05 23:55:11 -05:00
|
|
|
# Example user-data file. It will:
|
|
|
|
# 1. Generate locales for us
|
|
|
|
# 2. Update packages and install OpenSSH and sudo
|
|
|
|
# 3. Disable the manually-enabled cloud-init target (see debootstrap_script.py)
|
|
|
|
# 4. Reboot the system
|
|
|
|
# You can, of course, do anything you want in here which cloud-init normally supports.
|
2019-12-14 14:12:55 -05:00
|
|
|
bootcmd:
|
|
|
|
- "locale-gen"
|
|
|
|
package_update: true
|
|
|
|
packages:
|
|
|
|
- openssh-server
|
|
|
|
- sudo
|
|
|
|
runcmd:
|
|
|
|
- "systemctl disable cloud-init.target"
|
|
|
|
- "reboot"
|