[PATCH 2/3] Don't try to parse network device info when doing disk image installs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 pyanaconda/kickstart.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index bb625ae..df7b1af 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -573,6 +573,13 @@ class Logging(commands.logging.FC6_Logging):
     
 class NetworkData(commands.network.F8_NetworkData):
     def execute(self, anaconda):
+        if flags.imageInstall:
+            if self.hostname != "":
+                anaconda.network.setHostname(self.hostname)
+                anaconda.network.overrideDHCPhostname = True
+
+            # Only set hostname
+            return
 
         devices = anaconda.network.netdevices
 
-- 
1.7.3.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux