khuedoan-homelab/test/multipass-cloud-init.yaml

11 lines
460 B
YAML
Raw Normal View History

2021-02-15 00:10:39 +07:00
#cloud-config
runcmd:
2021-02-15 01:20:35 +07:00
- apt-get update
- curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -
2021-02-15 00:33:50 +07:00
- apt-add-repository "deb [arch=$(dpkg --print-architecture)] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
2021-02-15 01:20:35 +07:00
- 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