diff options
author | Dirk von Suchodoletz | 2006-08-16 00:58:42 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-08-16 00:58:42 +0200 |
commit | 91635afc52c96467e0e994d03284ab65db40526f (patch) | |
tree | a650865536bb684d9478b771d6272dccd9e93876 /initrd/initrd-stuff/bin/servconfig | |
parent | Simple install mechanism for directory structure setup (make install) (diff) | |
download | core-91635afc52c96467e0e994d03284ab65db40526f.tar.gz core-91635afc52c96467e0e994d03284ab65db40526f.tar.xz core-91635afc52c96467e0e994d03284ab65db40526f.zip |
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
Diffstat (limited to 'initrd/initrd-stuff/bin/servconfig')
-rwxr-xr-x | initrd/initrd-stuff/bin/servconfig | 15 |
1 files changed, 7 insertions, 8 deletions
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 <dirk@goe.net>, 15-08-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 16-08-2006 # Michael Janczyk, 31-05-2006 # Lars Mueller <lm@opendiskless.org>, 23-06-2006 # Oliver Tappe <ot@opendiskless.org>, 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 |