diff options
author | Nico Dietrich | 2006-04-04 21:21:45 +0200 |
---|---|---|
committer | Nico Dietrich | 2006-04-04 21:21:45 +0200 |
commit | b389b1d21518e0e2b2a8afab05e20ed8075d8142 (patch) | |
tree | c7707e0729ec0970ba3941c93bcdc03d00529e52 /installer/ld4-inst | |
parent | introduce vendor_pre&postinit; inst: only create new config_files when differ... (diff) | |
download | core-b389b1d21518e0e2b2a8afab05e20ed8075d8142.tar.gz core-b389b1d21518e0e2b2a8afab05e20ed8075d8142.tar.xz core-b389b1d21518e0e2b2a8afab05e20ed8075d8142.zip |
introduce distribution dependant root password
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@154 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/ld4-inst')
-rwxr-xr-x | installer/ld4-inst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/installer/ld4-inst b/installer/ld4-inst index 01736782..4143fd7a 100755 --- a/installer/ld4-inst +++ b/installer/ld4-inst @@ -316,9 +316,9 @@ setup_server () { [ -d ${dxs_conf}/${dir} ] || mkdir -p ${dxs_conf}/${dir} done - # copy the client configuration default file - machine-setup - cp default_files/machine-setup_default \ - ${client_conf}-${timestamp} + # copy the client configuration default file and replace root_pw - machine-setup + sed -e "s,@@@root_pw@@@,${root_pw}," \ + default_files/machine-setup_default > ${client_conf}-${timestamp} # creating new configuration files in $dxs_conf # dhcp |