opennebula/alpine: install curl inside rootfs
This commit is contained in:
parent
15d1477a5b
commit
be7bcd9ef5
1 changed files with 2 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ apk add -U -X $APK_MIRROR$RELEASE/main/ \
|
|||
--arch="$ARCH" \
|
||||
--root=/mnt \
|
||||
--initdb \
|
||||
alpine-base alpine-conf openssh tzdata gnupg haveged bash eudev curl
|
||||
alpine-base alpine-conf openssh tzdata gnupg haveged bash eudev
|
||||
|
||||
mount --bind /dev /mnt/dev
|
||||
mount --bind /dev/pts /mnt/dev/pts
|
||||
|
|
@ -173,6 +173,7 @@ run_root cat /etc/default/grub
|
|||
run_root cat /etc/fstab
|
||||
|
||||
# Install one-context APK and hope things works as expected.
|
||||
run_root apk add curl
|
||||
curl -L "$ONE_CONTEXT_APK_URL" > "/mnt$ONE_CONTEXT_APK_PATH"
|
||||
run_root apk add --allow-untrusted "$ONE_CONTEXT_APK_PATH"
|
||||
run_root rm "$ONE_CONTEXT_APK_PATH"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue