diff options
| author | Anton Bobov <abobov@gmail.com> | 2018-01-21 00:04:46 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2018-01-21 00:05:53 +0500 |
| commit | 88a42702cb07b56cb577e1e701a1a075486a1e30 (patch) | |
| tree | b25dd7d95a877dfa61d0e9d03ae38c9e7577b73d | |
| parent | ae5ce758ce3132ea3f7719c36a80b55ccb8af997 (diff) | |
Update vclone script.
Reset description and set title with clone prefix.
| -rwxr-xr-x | vclone | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" |
