Merge remote-tracking branch 'origin/pr/139'

* origin/pr/139:
  Changed to not force default netvm in Create New VM
This commit is contained in:
Marek Marczykowski-Górecki 2018-12-09 18:42:12 +01:00
commit e122669aef
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -155,6 +155,7 @@ class NewVmDlg(QtGui.QDialog, Ui_NewVMDlg):
properties = {}
properties['provides_network'] = self.provides_network.isChecked()
if self.netvm.currentIndex() != 0:
properties['netvm'] = self.netvm_list[self.netvm.currentIndex()]
if self.install_system.isChecked():
properties['virt_mode'] = 'hvm'