From fd89010da77f85e8a80cb63654bdd35392db68c1 Mon Sep 17 00:00:00 2001 From: Nico Dietrich Date: Fri, 22 Sep 2006 14:03:37 +0000 Subject: * initrd: fix ssh start for debian * installer: fix: set root pw according the client distro, not server - therefore introduce distro-specific client configuration files * installer: fix sourcing of files for distro detection * git-svn-id: http://svn.openslx.org/svn/openslx/trunk@388 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/ld4-inst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'installer/ld4-inst') diff --git a/installer/ld4-inst b/installer/ld4-inst index 12a23626..404c7287 100755 --- a/installer/ld4-inst +++ b/installer/ld4-inst @@ -193,8 +193,8 @@ configure() { for i in /bin/lsb_release /usr/bin/lsb_release; do if [ -e $i ] ; then $i > /dev/null 2>&1 || break - server_distro=`. $i -i | sed "s/.*\t//"` - server_distro_ver=`. $i -r | sed "s/.*\t//"` + server_distro=`$i -i | sed "s/.*\t//"` + server_distro_ver=`$i -r | sed "s/.*\t//"` break fi done @@ -233,6 +233,7 @@ configure() { fi . distro-specs/config-${server_distro} + . distro-specs/config-client-${client_distro} ask "Path for client system: " rootdir $rootdir ask "Path for tftpboot: " tftpbootdir $tftpbootdir @@ -395,6 +396,7 @@ setup_server () { # copy the client configuration default file and replace root_pw - # machine-setup + # echo "setting root password: ${root_pw}" sed -e "s,@@@root_pw@@@,'${root_pw}'," default_files/machine-setup.default \ > ${dxs_cl_dir}/${dxs_client_conf} -- cgit v1.2.3-55-g7522