mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-07 14:03:01 +07:00
Re-order provision commands
This commit is contained in:
parent
034b952cfc
commit
c4803fb33b
@ -54,10 +54,9 @@ resource "lxd_container" "kubernetes_controllers" {
|
||||
provisioner "local-exec" {
|
||||
command = <<EXEC
|
||||
lxc exec ${self.name} -- bash -xe -c '
|
||||
apt-get install -y curl
|
||||
curl -sfL https://get.k3s.io | sh -
|
||||
apt-get install -y linux-image-$(uname -r)
|
||||
apt-get install -y curl linux-image-$(uname -r)
|
||||
mknod /dev/kmsg c 1 11
|
||||
curl -sfL https://get.k3s.io | sh -
|
||||
'
|
||||
EXEC
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user