ryran / upvm

Leverage virt-builder & virt-install to spin up new VMs with ease
Apache License 2.0
40 stars 9 forks source link

Aborting a new deployment can delete a pre-existing disk image: #50

Open ptalbert opened 6 years ago

ptalbert commented 6 years ago
$ upvm --os-variant rhel7.5 --name r74yum r7.4 
Missing optional python module: argcomplete
Install it to enable bash auto-magic tab-completion:
  yum/dnf install python-pip; pip install argcomplete
  activate-global-python-argcomplete; (Then restart shell)

  INFO: HOSTNAME not specified; using 'r74yum.example.com'
  INFO: Unable to determine native format of chosen template
  INFO: Using qcow2 for output format (change with --format=raw)
Already have an image file with the name 'r74yum.qcow2' (in dir '/var/lib/upvm')

Enter a unique image file name (not incl. path) : ^C
Received KeyboardInterrupt. Exiting.
  INFO: [Cleanup] Deleted image file '/var/lib/upvm/r74yum.qcow2'
ryran commented 6 years ago

Good catch Patrick! Thanks for reporting.