--- pyanaconda/network.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/pyanaconda/network.py b/pyanaconda/network.py index 0a781c5..ae29b60 100644 --- a/pyanaconda/network.py +++ b/pyanaconda/network.py @@ -473,6 +473,10 @@ class Network: def setHostname(self, hn): self.hostname = hn + if flags.imageInstall: + log.info("image install -- not setting hostname") + return + log.info("setting installation environment hostname to %s" % hn) iutil.execWithRedirect("hostname", ["-v", hn ], stdout="/dev/tty5", stderr="/dev/tty5") -- 1.7.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list