fix: openSUSE url

Fixed use of openSUSE for the master branch, not the staging
This commit is contained in:
Maxim Shlyamov 2022-02-10 15:44:49 +04:00 committed by GitHub
parent a3419c65c4
commit 68be2199db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ locals {
MicroOS_install_commands = [ MicroOS_install_commands = [
"set -ex", "set -ex",
"apt-get install -y aria2", "apt-get install -y aria2",
"aria2c --follow-metalink=mem https://raw.githubusercontent.com/kube-hetzner/kube-hetzner/staging/.files/openSUSE-MicroOS.x86_64-k3s-kvm-and-xen.qcow2.meta4", "aria2c --follow-metalink=mem https://raw.githubusercontent.com/kube-hetzner/kube-hetzner/master/.files/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", "qemu-img convert -p -f qcow2 -O host_device $(ls -a | grep -ie '^opensuse.*microos.*k3s.*qcow2$') /dev/sda",
"sgdisk -e /dev/sda", "sgdisk -e /dev/sda",
"parted -s /dev/sda resizepart 4 99%", "parted -s /dev/sda resizepart 4 99%",