stay away from snap if you can

This commit is contained in:
Khue Doan 2021-02-15 00:33:50 +07:00
parent eba194b78e
commit 35381d12da
2 changed files with 13 additions and 1 deletions

View File

@ -10,3 +10,7 @@ run:
--name homelab \
release:20.10
multipass shell homelab
clean:
multipass delete homelab
multipass purge

View File

@ -4,4 +4,12 @@ runcmd:
- snap install --classic kubectl terraform
- snap install lxd terraform
- snap install kubectl --classic
- snap install terraform --classic
- curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
- apt-add-repository "deb [arch=$(dpkg --print-architecture)] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
- apt install terraform
- sudo apt-get update
- sudo apt-get install -y apt-transport-https
- curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
- echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
- sudo apt-get update
- sudo apt-get install -y kubectl