[Fai-commit] r4415 - people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-COMMON

lazyboy-guest at alioth.debian.org lazyboy-guest at alioth.debian.org
Sat Jul 7 13:35:05 UTC 2007


Author: lazyboy-guest
Date: 2007-07-07 13:35:05 +0000 (Sat, 07 Jul 2007)
New Revision: 4415

Added:
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-COMMON/20-set-hostname
Log:
need to set hostname correctly

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-COMMON/20-set-hostname
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-COMMON/20-set-hostname	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-COMMON/20-set-hostname	2007-07-07 13:35:05 UTC (rev 4415)
@@ -0,0 +1,6 @@
+#! /usr/bin/perl -e
+# set hostname in network config file
+
+fcopy /etc/syconfig/network
+$ROOTCMD perl -pi -e "s/_HOSTNAME_/$HOSTNAME/g" /etc/sysconfig/network
+




More information about the Fai-commit mailing list