Add setup-alpine.sh
This commit is contained in:
commit
5f4440032f
1 changed files with 11 additions and 0 deletions
11
setup-alpine.sh
Normal file
11
setup-alpine.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
wget "https://dl-cdn.alpinelinux.org/alpine/v3.21/releases/x86_64/alpine-virt-3.21.3-x86_64.iso"
|
||||
|
||||
if [ -f /dev/sda ]; then
|
||||
dd if=alpine-virt-3.21.3-x86_64.iso of=/dev/sda
|
||||
else
|
||||
dd if=alpine-virt-3.21.3-x86_64.iso of=/dev/vda
|
||||
fi
|
||||
|
||||
reboot
|
Loading…
Add table
Reference in a new issue