mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-09-30 18:34:56 +08:00
Update autoRepackUbuntuCloudImages.sh
This commit is contained in:
parent
97cd782b70
commit
b971bbe2c8
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# kpartx and qumu-utils are required
|
# kpartx and qumu-utils are required
|
||||||
|
apt update -y
|
||||||
apt install cron kpartx mount qemu-utils xz-utils -y
|
apt install cron kpartx mount qemu-utils xz-utils -y
|
||||||
# get valid loop device
|
# get valid loop device
|
||||||
loopDevice=$(echo $(losetup -f))
|
loopDevice=$(echo $(losetup -f))
|
||||||
|
|
Loading…
Add table
Reference in a new issue