Update autoRepackUbuntuCloudImages.sh

This commit is contained in:
Molly Lau 2023-09-25 01:20:54 +09:00 committed by GitHub
parent 97cd782b70
commit b971bbe2c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))