From e24dccadcc06c2d028e72e0f65b416eb52bdb16a Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Thu, 8 Nov 2018 14:53:43 +0000 Subject: [PATCH] mount_overlay only takes 3 args --- live-build/ubuntu-server/hooks/031-maas-squashfs.binary | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live-build/ubuntu-server/hooks/031-maas-squashfs.binary b/live-build/ubuntu-server/hooks/031-maas-squashfs.binary index ba348ba3..edbd20ba 100755 --- a/live-build/ubuntu-server/hooks/031-maas-squashfs.binary +++ b/live-build/ubuntu-server/hooks/031-maas-squashfs.binary @@ -40,7 +40,7 @@ mkdir -p "$OVERLAY_REGION_ROOT" # RACK is on top of the regular squashfs -mount_overlay "$SQUASH_ROOT/" "$OVERLAY_RACK_ROOT/" "$RACK_ROOT/" "RACK" +mount_overlay "$SQUASH_ROOT/" "$OVERLAY_RACK_ROOT/" "$RACK_ROOT/" setup_mountpoint $RACK_ROOT env DEBIAN_FRONTEND=noninteractive chroot $RACK_ROOT apt-get -y install maas-rack-controller @@ -54,7 +54,7 @@ umount "$RACK_ROOT" # Full MAAS (Region) is on top of the rack # in overlayfs lowerdir are mounted right to left, colon separated -mount_overlay "$OVERLAY_RACK_ROOT/:$SQUASH_ROOT/" "$OVERLAY_REGION_ROOT/" "$REGION_ROOT/" "REGION" +mount_overlay "$OVERLAY_RACK_ROOT/:$SQUASH_ROOT/" "$OVERLAY_REGION_ROOT/" "$REGION_ROOT/" setup_mountpoint $REGION_ROOT