Update ubuntuInit.sh

This commit is contained in:
Molly Lau 2023-06-08 16:20:35 +09:00 committed by GitHub
parent 8d6918697e
commit 915acccba1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,10 +52,10 @@ sed -i '$a\'${AlpineTestRepository}'' /etc/apk/repositories
# Install necessary components.
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
wget -qO- "$DDURL" | dd of="$AllDisks"
wget --no-check-certificate -qO- "$DDURL" | dd of="$AllDisks"
# get valid loop device
loopDevice=$(echo $(losetup -f))