tempory patch for aria2c file

This commit is contained in:
Karim Naufal 2022-02-10 03:06:40 +01:00
parent cd6b5e2768
commit e7f016fc59

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://download.opensuse.org/tumbleweed/appliances/openSUSE-MicroOS.x86_64-k3s-kvm-and-xen.qcow2.meta4", "aria2c --follow-metalink=mem https://raw.githubusercontent.com/kube-hetzner/kube-hetzner/staging/.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%",