r1764 - in profiles/LFS/trunk: chapter07 skeleton/etc/sysconfig

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sat Feb 12 09:22:12 PST 2005


Author: kpfleming
Date: 2005-02-12 10:22:11 -0700 (Sat, 12 Feb 2005)
New Revision: 1764

Added:
   profiles/LFS/trunk/skeleton/etc/sysconfig/network
Modified:
   profiles/LFS/trunk/chapter07/hostname.xml
Log:
move etc/sysconfig/network to skeleton



Modified: profiles/LFS/trunk/chapter07/hostname.xml
===================================================================
--- profiles/LFS/trunk/chapter07/hostname.xml	2005-02-12 17:20:43 UTC (rev 1763)
+++ profiles/LFS/trunk/chapter07/hostname.xml	2005-02-12 17:22:11 UTC (rev 1764)
@@ -7,11 +7,9 @@
 ]>
 <alfs>
   <stage name="Configuring the localnet Script">
-    <textdump>
-      <file>/etc/sysconfig/network</file>
-      <content>
-	=HOSTNAME=&hostname;
-      </content>
-    </textdump>
+    <copy>
+      <source>&skeleton_dir;/etc/sysconfig/network</source>
+      <destination>/etc/sysconfig</destination>
+    </copy>
   </stage>
 </alfs>

Added: profiles/LFS/trunk/skeleton/etc/sysconfig/network
===================================================================
--- profiles/LFS/trunk/skeleton/etc/sysconfig/network	2005-02-12 17:20:43 UTC (rev 1763)
+++ profiles/LFS/trunk/skeleton/etc/sysconfig/network	2005-02-12 17:22:11 UTC (rev 1764)
@@ -0,0 +1 @@
+HOSTNAME=yourhost




More information about the alfs-log mailing list