From a87df94305ae7d4a63a5c6402c4423a0b24fa595 Mon Sep 17 00:00:00 2001 From: ahoemann Date: Thu, 17 Apr 2025 21:51:18 +0200 Subject: [PATCH] Update setup-alpine.sh --- setup-alpine.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup-alpine.sh b/setup-alpine.sh index 86230d0..bdddf7e 100644 --- a/setup-alpine.sh +++ b/setup-alpine.sh @@ -1,6 +1,6 @@ #!/usr/bin/env sh - -if [ wget "https://dl-cdn.alpinelinux.org/alpine/v3.21/releases/x86_64/alpine-virt-3.21.3-x86_64.iso" alpine.iso ]; then +wget "https://dl-cdn.alpinelinux.org/alpine/v3.21/releases/x86_64/alpine-virt-3.21.3-x86_64.iso" alpine.iso +if [ -f alpine.iso ]; then if [ -f /dev/sda ]; then dd if=alpine.iso of=/dev/sda && reboot elif [ -f /dev/vda ]; then