summaryrefslogtreecommitdiffstats
path: root/installer/slxos-setup
diff options
context:
space:
mode:
authorOliver Tappe2007-09-26 13:05:33 +0200
committerOliver Tappe2007-09-26 13:05:33 +0200
commitb385455b18ec7ada8ec8c9c5cc467fcf46bb5dfc (patch)
tree604c1a78357c0f4fce70c81ef4254e7b92c3651e /installer/slxos-setup
parent* reverted changeset 1347, as installPrerequiredPackages() *should* have been (diff)
downloadcore-b385455b18ec7ada8ec8c9c5cc467fcf46bb5dfc.tar.gz
core-b385455b18ec7ada8ec8c9c5cc467fcf46bb5dfc.tar.xz
core-b385455b18ec7ada8ec8c9c5cc467fcf46bb5dfc.zip
* fixed problems with respect to installation of prerequired packages
* added support for setting the root-password: + slxos-setup now queries for the root-password + 'busybox cryptpw' is used to determine the hashed password as required by the specific distribution (MD5 or Blowfish) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1349 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/slxos-setup')
-rwxr-xr-xinstaller/slxos-setup3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/slxos-setup b/installer/slxos-setup
index b7461deb..4ad9f0c8 100755
--- a/installer/slxos-setup
+++ b/installer/slxos-setup
@@ -121,7 +121,8 @@ if ($action =~ m[^import]i) {
chdir($FindBin::RealBin)
or die _tr("can't chdir to script-path <%> (%s)", $FindBin::RealBin, $!);
$engine->initialize($vendorOSName, 'install');
- $engine->installVendorOS();
+ my $rootPassword = readPassword("root-password for new system> ");
+ $engine->installVendorOS({ 'root-password' => $rootPassword });
} elsif ($action =~ m[^clone]i) {
my $source = shift @ARGV;
my $vendorOSName = shift @ARGV;