fix for error messages
This commit is contained in:
parent
75fd63da1e
commit
e6b12a172c
@ -23,7 +23,7 @@ locals {
|
||||
MicroOS_install_commands = [
|
||||
"set -ex",
|
||||
"apt-get install -y aria2",
|
||||
"aria2c --follow-metalink=mem https://raw.githubusercontent.com/kube-hetzner/kube-hetzner/master/.files/openSUSE-MicroOS.x86_64-k3s-kvm-and-xen.qcow2.meta4",
|
||||
"aria2c --follow-metalink=mem https://download.opensuse.org/tumbleweed/appliances/openSUSE-MicroOS.x86_64-k3s-kvm-and-xen.qcow2.meta4",
|
||||
"qemu-img convert -p -f qcow2 -O host_device $(ls -a | grep -ie '^opensuse.*microos.*k3s.*qcow2$') /dev/sda",
|
||||
"sgdisk -e /dev/sda",
|
||||
"parted -s /dev/sda resizepart 4 99%",
|
||||
|
@ -90,7 +90,7 @@ resource "hcloud_server" "first_control_plane" {
|
||||
echo "Waiting for kubectl config..."
|
||||
sleep 1
|
||||
done
|
||||
until [[ "\$(kubectl get --raw='/readyz')" == "ok" ]]; do
|
||||
until [[ "\$(kubectl get --raw='/readyz' 2> /dev/null)" == "ok" ]]; do
|
||||
echo "Waiting for cluster to become ready..."
|
||||
sleep 1
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user