Merge remote-tracking branch 'qubesos/pr/64'

* qubesos/pr/64:
  Bugfixed
  Fixed error in creating new VMs from GUI
This commit is contained in:
Marek Marczykowski-Górecki 2018-02-10 23:41:10 +01:00
commit ec7c65de34
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -120,8 +120,10 @@ class NewVmDlg(QtGui.QDialog, Ui_NewVMDlg):
properties = {}
properties['provides_network'] = self.provides_network.isChecked()
properties['virt_mode'] = 'hvm'
properties['netvm'] = self.netvm_list[self.netvm.currentIndex()]
if self.install_system.isChecked():
properties['virt_mode'] = 'hvm'
properties['kernel'] = None
thread_monitor = ThreadMonitor()
thread = threading.Thread(target=self.do_create_vm,