Update setup-alpine.sh

This commit is contained in:
ahoemann 2025-04-17 21:51:18 +02:00
parent 429afb46c9
commit a87df94305

View file

@ -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