Use a random number when naming the prevagrant image.

This commit is contained in:
parazyd 2019-02-28 00:39:56 +01:00
parent 3eee81ee50
commit 63163a0772
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ vm_vbox_setup() {
base.vdi || zerr
VBoxManage modifyhd base.vdi --type immutable --compact || zerr
vmname="${os}-${release}-prevagrant"
vmname="${os}-${release}-prevagrant-${RANDOM}"
notice "importing base.vdi to a VBox"
act "creating vm"
VBoxManage createvm --name "$vmname" --ostype Debian_64 --register || zerr