59b2222711
bsc#1192238 [Build58.2][KVM] The latest supported OracleLinux as guest versions are not included anywhere add-missing-oracle-linux-versions.patch - bsc#1188223 - L3: Sles12sp3 DomU won't boot after adding phys hard drive virtinst-xenbus-disk-index-fix.patch - jsc#SLE-21540 Dev: Prefer UEFI when creating new virtual machines. Add a preferences option to allow users to default to UEFI when creating a new VM. Libvirt decides which firmware file to use. virtman-add-firmware-preferences.patch - Renamed patch virtinst-modify-gui-defaults.patch to virtman-modify-gui-defaults.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=551
30 lines
1.4 KiB
Diff
30 lines
1.4 KiB
Diff
Enhancement for the following GUI wizard installation option.
|
|
1) If Xen, leave 'Architecture options' expanded so users know PV
|
|
is the default
|
|
Index: virt-manager-3.1.0/virtManager/createvm.py
|
|
===================================================================
|
|
--- virt-manager-3.1.0.orig/virtManager/createvm.py
|
|
+++ virt-manager-3.1.0/virtManager/createvm.py
|
|
@@ -459,8 +459,20 @@ class vmmCreateVM(vmmGObjectUI):
|
|
self.widget("method-local").set_active(True)
|
|
self.widget("create-conn").set_active(-1)
|
|
activeconn = self._populate_conn_list(urihint)
|
|
- self.widget("arch-expander").set_expanded(False)
|
|
self.widget("vz-virt-type-hvm").set_active(True)
|
|
+ # For Xen have the expander open so users can see PV is the default
|
|
+ if activeconn and activeconn.is_xen():
|
|
+ self.widget("arch-expander").set_expanded(True)
|
|
+ else:
|
|
+ self.widget("arch-expander").set_expanded(False)
|
|
+
|
|
+ # Default to Network install if host was installed that way
|
|
+ host_instsrc = getHostInstallSource()
|
|
+ if host_instsrc is not None and \
|
|
+ (host_instsrc.startswith('ftp:') or host_instsrc.startswith('http:') or \
|
|
+ host_instsrc.startswith('smb:') or host_instsrc.startswith('nfs:')):
|
|
+ self.widget("method-local").set_active(False)
|
|
+ self.widget("method-tree").set_active(True)
|
|
|
|
if self._set_conn(activeconn) is False:
|
|
return False
|