mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 11:38:00 +08:00
Update rebuild_qcow2.sh
This commit is contained in:
parent
dd270bfd7d
commit
247077455e
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ then
|
|||
echo "virt-customize not found, installing libguestfs-tools"
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libguestfs-tools
|
||||
sudo apt-get install -y libguestfs-tools --fix-missing
|
||||
fi
|
||||
|
||||
if ! command -v rngd &> /dev/null
|
||||
|
@ -12,6 +13,7 @@ then
|
|||
echo "rng-tools not found, installing rng-tools"
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y rng-tools
|
||||
sudo apt-get install -y rng-tools --fix-missing
|
||||
fi
|
||||
|
||||
# export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
|
||||
|
|
Loading…
Reference in a new issue