fix build issue
This commit is contained in:
@@ -11,6 +11,8 @@ CONFIGURE_SH="${SCRIPT_DIR}/configure.sh"
|
||||
|
||||
TMP=$(mktemp)
|
||||
|
||||
modprobe nbd max_parts=8 && [ -e /dev/nbd0 ] || mknod /dev/nbd0 b 43 0
|
||||
|
||||
cleanup() {
|
||||
rm $TMP
|
||||
}
|
||||
@@ -29,7 +31,7 @@ alpine-make-vm-image \
|
||||
--fs-skel-dir "$OVERLAY_DIR" \
|
||||
--fs-skel-chown root:root \
|
||||
--script-chroot \
|
||||
--packages "git curl docker cronie" \
|
||||
--packages "git curl docker cronie dhclient" \
|
||||
"$IMAGE_FILE" \
|
||||
"$CONFIGURE_SH" | tee $TMP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user