[PATCH] Enable Network spoke for the Initial Setup (#972362)

Vratislav Podzimek vpodzime at redhat.com
Wed Jun 19 13:26:23 UTC 2013


ARM systems may need to setup network on the first boot (e.g. due to NTP) as
they are distributed as pre-installed images.

Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 pyanaconda/ui/gui/spokes/network.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index e6371b7..9465880 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -42,6 +42,7 @@ from pyanaconda.ui.gui.spokes import NormalSpoke, StandaloneSpoke
 from pyanaconda.ui.gui.categories.software import SoftwareCategory
 from pyanaconda.ui.gui.hubs.summary import SummaryHub
 from pyanaconda.ui.gui.utils import gtk_call_once
+from pyanaconda.ui.common import FirstbootSpokeMixIn
 
 from pyanaconda import network
 from pyanaconda.nm import nm_activated_devices, nm_device_setting_value
@@ -1094,7 +1095,7 @@ class NetworkControlBox(object):
     def hostname(self, value):
         self.entry_hostname.set_text(value)
 
-class NetworkSpoke(NormalSpoke):
+class NetworkSpoke(FirstbootSpokeMixIn, NormalSpoke):
     builderObjects = ["networkWindow", "liststore_wireless_network", "liststore_devices", "add_device_dialog", "liststore_add_device"]
     mainWidgetName = "networkWindow"
     uiFile = "spokes/network.glade"
-- 
1.7.11.7



More information about the anaconda-patches mailing list