From b971bbe2c8c4047e095b4cb625d6151333ada1c1 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Mon, 25 Sep 2023 01:20:54 +0900 Subject: [PATCH] Update autoRepackUbuntuCloudImages.sh --- Linux_reinstall/Ubuntu/autoRepackUbuntuCloudImages.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Linux_reinstall/Ubuntu/autoRepackUbuntuCloudImages.sh b/Linux_reinstall/Ubuntu/autoRepackUbuntuCloudImages.sh index 7e2da61..61f4f46 100644 --- a/Linux_reinstall/Ubuntu/autoRepackUbuntuCloudImages.sh +++ b/Linux_reinstall/Ubuntu/autoRepackUbuntuCloudImages.sh @@ -1,6 +1,7 @@ #!/bin/bash # # kpartx and qumu-utils are required +apt update -y apt install cron kpartx mount qemu-utils xz-utils -y # get valid loop device loopDevice=$(echo $(losetup -f))