Update setup-alpine.sh
This commit is contained in:
parent
189d387e33
commit
6c6239e269
1 changed files with 0 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
wget "https://dl-cdn.alpinelinux.org/alpine/v3.21/releases/x86_64/alpine-virt-3.21.3-x86_64.iso" -O 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
|
||||
|
@ -8,4 +7,3 @@ if [ -f alpine.iso ]; then
|
|||
else
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue