khuedoan-homelab/test/multipass-cloud-init.yaml
2021-02-15 01:20:35 +07:00

11 lines
460 B
YAML

#cloud-config
runcmd:
- apt-get update
- curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -
- apt-add-repository "deb [arch=$(dpkg --print-architecture)] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
- curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
- apt-add-repository "deb https://apt.kubernetes.io/ kubernetes-xenial main"
- apt-get update
- apt-get install -y kubectl terraform