diff options
| author | Nico Dietrich | 2006-09-22 16:03:37 +0200 |
|---|---|---|
| committer | Nico Dietrich | 2006-09-22 16:03:37 +0200 |
| commit | fd89010da77f85e8a80cb63654bdd35392db68c1 (patch) | |
| tree | 6413c508fb92ff26526dec179070389ef2796874 /installer/ld4-inst | |
| parent | * renamed config-demuxer.pl to slxconfig-demuxer.pl in order to comply with o... (diff) | |
| download | core-fd89010da77f85e8a80cb63654bdd35392db68c1.tar.gz core-fd89010da77f85e8a80cb63654bdd35392db68c1.tar.xz core-fd89010da77f85e8a80cb63654bdd35392db68c1.zip | |
* 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
Diffstat (limited to 'installer/ld4-inst')
| -rwxr-xr-x | installer/ld4-inst | 6 |
1 files changed, 4 insertions, 2 deletions
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} |
