Use a random number when naming the prevagrant image.
This commit is contained in:
parent
3eee81ee50
commit
63163a0772
2
zlibs/vm
2
zlibs/vm
|
|
@ -112,7 +112,7 @@ vm_vbox_setup() {
|
||||||
base.vdi || zerr
|
base.vdi || zerr
|
||||||
VBoxManage modifyhd base.vdi --type immutable --compact || 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"
|
notice "importing base.vdi to a VBox"
|
||||||
act "creating vm"
|
act "creating vm"
|
||||||
VBoxManage createvm --name "$vmname" --ostype Debian_64 --register || zerr
|
VBoxManage createvm --name "$vmname" --ostype Debian_64 --register || zerr
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue