fix: don't install litestream in rescue env

This commit is contained in:
Peter 2023-12-21 22:13:11 +01:00
parent 3b095fe75a
commit 1dde3d9c01
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -48,7 +48,6 @@ resource "hcloud_server" "control-plane" {
"apt-get install -y gawk",
"curl -fsSLO --retry-delay 1 --retry 60 --retry-connrefused --retry-max-time 60 --connect-timeout 20 https://raw.githubusercontent.com/flatcar/init/flatcar-master/bin/flatcar-install",
"chmod +x flatcar-install",
"curl -L https://github.com/benbjohnson/litestream/releases/download/${var.litestream_version}/litestream-${var.litestream_version}-linux-arm64.tar.gz | tar -xvz -C /root",
"./flatcar-install -s -i /root/ignition.json -C ${var.release_channel}",
"reboot",
]