Merge remote-tracking branch 'qubesos/pr/64'
* qubesos/pr/64: Bugfixed Fixed error in creating new VMs from GUI
This commit is contained in:
commit
ec7c65de34
@ -120,8 +120,10 @@ class NewVmDlg(QtGui.QDialog, Ui_NewVMDlg):
|
|||||||
|
|
||||||
properties = {}
|
properties = {}
|
||||||
properties['provides_network'] = self.provides_network.isChecked()
|
properties['provides_network'] = self.provides_network.isChecked()
|
||||||
properties['virt_mode'] = 'hvm'
|
|
||||||
properties['netvm'] = self.netvm_list[self.netvm.currentIndex()]
|
properties['netvm'] = self.netvm_list[self.netvm.currentIndex()]
|
||||||
|
if self.install_system.isChecked():
|
||||||
|
properties['virt_mode'] = 'hvm'
|
||||||
|
properties['kernel'] = None
|
||||||
|
|
||||||
thread_monitor = ThreadMonitor()
|
thread_monitor = ThreadMonitor()
|
||||||
thread = threading.Thread(target=self.do_create_vm,
|
thread = threading.Thread(target=self.do_create_vm,
|
||||||
|
Loading…
Reference in New Issue
Block a user