Update setup-alpine.sh
This commit is contained in:
parent
2987875185
commit
8abc3cb13f
1 changed files with 5 additions and 3 deletions
|
@ -4,8 +4,10 @@ wget "https://dl-cdn.alpinelinux.org/alpine/v3.21/releases/x86_64/alpine-virt-3.
|
|||
|
||||
if [ -f /dev/sda ]; then
|
||||
dd if=alpine.iso of=/dev/sda
|
||||
else
|
||||
reboot
|
||||
elif
|
||||
dd if=alpine.iso of=/dev/vda
|
||||
reboot
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
reboot
|
Loading…
Add table
Add a link
Reference in a new issue