summaryrefslogtreecommitdiff
path: root/vclone
diff options
context:
space:
mode:
Diffstat (limited to 'vclone')
-rwxr-xr-xvclone2
1 files changed, 2 insertions, 0 deletions
diff --git a/vclone b/vclone
index e2c3194..cf3fdaf 100755
--- a/vclone
+++ b/vclone
@@ -29,6 +29,8 @@ read -p "Enter new image name: " NAME
echo "Cloning..."
virt-clone --quiet --original "$BASE_IMAGE" --auto-clone --name "$NAME"
+virsh desc --new-desc '' "$NAME"
+virsh desc --title --new-desc "clone/$NAME" "$NAME"
echo "Cloning... Done."
echo "Preparing..."
virt-sysprep --quiet --domain "$NAME" --hostname "$NAME"