Skip to content

Instantly share code, notes, and snippets.

@oskapt
Created September 25, 2019 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oskapt/9af8caf6ffd0a9ce8d79531f0cb42a13 to your computer and use it in GitHub Desktop.
Save oskapt/9af8caf6ffd0a9ce8d79531f0cb42a13 to your computer and use it in GitHub Desktop.
Cloud config for RKE hosts
#cloud-config
package_upgrade: true
package_update: true
packages:
- curl
- nfs-kernel-server
- python3-pip
runcmd:
- curl -s -o /var/tmp/install_docker https://releases.rancher.com/install-docker/18.09.sh
- sh /var/tmp/install_docker
- rm /var/tmp/install_docker
- usermod -aG docker ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment