--- 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