mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
create: Show a warning if no network is selected (bz 1267377)
This commit is contained in:
parent
90816a6263
commit
50b1b18ec4
@ -1468,7 +1468,9 @@ class vmmCreate(vmmGObjectUI):
|
|||||||
self.widget("netdev-warn-label").set_markup(
|
self.widget("netdev-warn-label").set_markup(
|
||||||
"<small>%s</small>" % msg)
|
"<small>%s</small>" % msg)
|
||||||
|
|
||||||
if not can_pxe and pxe_install:
|
if no_network:
|
||||||
|
_show_netdev_warn(_("No network selected"))
|
||||||
|
elif not can_pxe and pxe_install:
|
||||||
_show_netdev_warn(_("Network selection does not support PXE"))
|
_show_netdev_warn(_("Network selection does not support PXE"))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user