mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-10-06 13:25:55 +08:00
Update ubuntuInit.sh
This commit is contained in:
parent
8d6918697e
commit
915acccba1
1 changed files with 2 additions and 2 deletions
|
@ -52,10 +52,10 @@ sed -i '$a\'${AlpineTestRepository}'' /etc/apk/repositories
|
||||||
|
|
||||||
# Install necessary components.
|
# Install necessary components.
|
||||||
apk update
|
apk update
|
||||||
apk add bash coreutils e2fsprogs hdparm multipath-tools parted sed util-linux wget
|
apk add bash ca-certificates coreutils e2fsprogs hdparm multipath-tools parted sed util-linux wget
|
||||||
|
|
||||||
# start dd
|
# start dd
|
||||||
wget -qO- "$DDURL" | dd of="$AllDisks"
|
wget --no-check-certificate -qO- "$DDURL" | dd of="$AllDisks"
|
||||||
|
|
||||||
# get valid loop device
|
# get valid loop device
|
||||||
loopDevice=$(echo $(losetup -f))
|
loopDevice=$(echo $(losetup -f))
|
||||||
|
|
Loading…
Add table
Reference in a new issue