diff --git a/scripts/fuse-nbd b/scripts/fuse-nbd index 3fc79b6b..b1e51b1d 100644 --- a/scripts/fuse-nbd +++ b/scripts/fuse-nbd @@ -70,5 +70,6 @@ qemu-nbd --socket="$(pwd)"/qemu-img.sock \ --format="${IMG_FMT}" \ --shared=10 \ "${PACKER_OUTPUT}" & +sleep 5 mkdir -p "${TMP_DIR}/root" diff --git a/scripts/fuse-tar-root b/scripts/fuse-tar-root index 6f469170..b06437b6 100644 --- a/scripts/fuse-tar-root +++ b/scripts/fuse-tar-root @@ -31,7 +31,7 @@ if [ -d curtin ] || [ -d "$CURTIN_HOOKS" ]; then fi echo "Creating MAAS image ${OUTPUT}..." -tar -Sczpf "${OUTPUT}" --acls --selinux --xattrs --exclude='agent.*' --exclude='*.socket' -C "$ROOT_MOUNT" . +tar -Sczpf "${OUTPUT}" --acls --selinux --xattrs -C "$ROOT_MOUNT" . if [ -n "$MANIFEST" ]; then echo "Creating manifest..."