From 50b1b18ec4de0260354379e006d2b43a3f2d4c98 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Mon, 2 Nov 2015 14:42:42 -0500 Subject: [PATCH] create: Show a warning if no network is selected (bz 1267377) --- virtManager/create.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/virtManager/create.py b/virtManager/create.py index 150d7b550..bcda2f8e9 100644 --- a/virtManager/create.py +++ b/virtManager/create.py @@ -1468,7 +1468,9 @@ class vmmCreate(vmmGObjectUI): self.widget("netdev-warn-label").set_markup( "%s" % 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"))