Cloud-init to be run via guestinfo when installing Flatcar Linux in vSphere using Rancher. It is a workaround to allow Rancher to provision Flatcar nodes, since coreos-cloudinit is not supported.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
443 B

#cloud-config
groups:
- staff
users:
- create_groups: false
groups: staff
lock_passwd: true
name: docker
no_user_group: true
ssh_authorized_keys:
- |
ssh-rsa blahblahblah
sudo: ALL=(ALL) NOPASSWD:ALL
write_files:
- content: H4sIAAAAAAAAA1JW1E/KzNNPSizO4EpNzshX8CxRCM8vyi5WBAAAAP//AwCxMIRMGgAAAA==
encoding: gzip+b64
path: /home/docker/install.sh
permissions: "0644"
runcmd:
- "/usr/bin/echo It works!"
- "/usr/bin/date"