adrahon / vagrant-kvm

This project is dead, please use vagrant-libvirt instead! A Vagrant 1.4+ plugin that adds a KVM provider to Vagrant, allowing Vagrant to control and provision KVM/QEMU VM.
MIT License
366 stars 60 forks source link

Need to handle old storage pool name if exists #240

Closed adrahon closed 10 years ago

adrahon commented 10 years ago

If you already have a 'vagrant' storage pool, creation of a storage pool with the new name will fail:

/home/adrahon/.vagrant.d/gems/gems/vagrant-kvm-0.2.0.dev/lib/vagrant-kvm/driver/driver.rb:299:in `create_storage_pool_xml': Call to virStoragePoolCreateXML failed: operation failed: Storage source conflict with pool: 'vagrant' (Libvirt::Error)