mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-03 21:40:34 +07:00
stay away from snap if you can
This commit is contained in:
parent
eba194b78e
commit
35381d12da
@ -10,3 +10,7 @@ run:
|
||||
--name homelab \
|
||||
release:20.10
|
||||
multipass shell homelab
|
||||
|
||||
clean:
|
||||
multipass delete homelab
|
||||
multipass purge
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user