ref: refs/heads/appliance-docs
commit f8d6c7702864c29257be162d64423abde6d21800
Author: Martin Vidner
Date: Wed Dec 9 14:45:18 2009 +0100
Workaround: ensure hostname -f succeeds and network is not restarted (bnc#552548).
---
.../doc/appliance/webyast-apce-build-script.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/webclient/doc/appliance/webyast-apce-build-script.sh b/webclient/doc/appliance/webyast-apce-build-script.sh
index e0dcb95..a529b7b 100644
--- a/webclient/doc/appliance/webyast-apce-build-script.sh
+++ b/webclient/doc/appliance/webyast-apce-build-script.sh
@@ -18,6 +18,11 @@ change () {
# bnc#544694
change NETCONFIG_NTP_STATIC_SERVERS= pool.ntp.org /etc/sysconfig/network/config
+# bnc#552548
+FQDN=`cat /etc/HOSTNAME`
+sed -i '/127\.0\.0\.2/d' /etc/hosts
+echo "127.0.0.2 $FQDN ${FQDN%%.*}" >> /etc/hosts
+
# bnc#553185
change FQDNLookup " false" /etc/collectd.conf
# bnc#553185#c1
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org