From 91635afc52c96467e0e994d03284ab65db40526f Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Tue, 15 Aug 2006 22:58:42 +0000 Subject: Extended configuration mechanism (get tgz files instead of simple machine-setup for advanced config), tested with normal toolset and busybox, small bugfixes like: fixed duplicate entries to machine-setup, small ash-sh related bug, ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@300 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/bin/servconfig | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'initrd/initrd-stuff/bin') diff --git a/initrd/initrd-stuff/bin/servconfig b/initrd/initrd-stuff/bin/servconfig index 5d266f97..a4577a97 100755 --- a/initrd/initrd-stuff/bin/servconfig +++ b/initrd/initrd-stuff/bin/servconfig @@ -4,7 +4,7 @@ # for linux diskless clients (executed within initial # ramdisk) # -# Author(s): Dirk von Suchodoletz , 15-08-2006 +# Author(s): Dirk von Suchodoletz , 16-08-2006 # Michael Janczyk, 31-05-2006 # Lars Mueller , 23-06-2006 # Oliver Tappe , 23-06-2006 @@ -12,7 +12,7 @@ # Copyright: (c) 2006 - RZ Universitaet Freiburg # (c) 2006 - opendiskless.org project # -# Version: 0.1.2a +# Version: 0.1.2b # check for configuration files to source @@ -65,12 +65,11 @@ echo " cfgcomplete . /etc/machine-setup -# hack for replacing variables ($serverip, $clientip, $host_name) in -# machine-setup -sed -e "s/\$serverip/$serverip/;s/\$clientip/$clientip/" \ - /etc/machine-setup > /etc/machine-setup.new -cp /etc/machine-setup.new /etc/machine-setup -. /etc/machine-setup +# copy additional configuration and var files and directories +# admins can place there files in /var/lib/opendiskless/config/... +# to be packed during stage2 into (/srv/dxs)/tftpboot/client-config...) +# ... in the near future ... +cp -a /rootfs/* /mnt 2>/dev/null ####################################################################### # vmware stuff first part: two scenarios -- cgit v1.2.3-55-g7522