diff options
author | Oliver Tappe | 2007-03-17 16:16:33 +0100 |
---|---|---|
committer | Oliver Tappe | 2007-03-17 16:16:33 +0100 |
commit | 57865ed527ac0a8ed7538a1354c24cb19e735ca9 (patch) | |
tree | df311d8c417448e511ff1bde934b2c5178fa2cfb /installer/slxos-setup | |
parent | * switched from using system() to slxsystem() (diff) | |
download | core-57865ed527ac0a8ed7538a1354c24cb19e735ca9.tar.gz core-57865ed527ac0a8ed7538a1354c24cb19e735ca9.tar.xz core-57865ed527ac0a8ed7538a1354c24cb19e735ca9.zip |
* added support for continuing failed installation attempts, downloads
are now being continued in order to speed things up a bit.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@783 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/slxos-setup')
-rwxr-xr-x | installer/slxos-setup | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/installer/slxos-setup b/installer/slxos-setup index 71a2d948..b43c7e1e 100755 --- a/installer/slxos-setup +++ b/installer/slxos-setup @@ -100,16 +100,16 @@ chdir($FindBin::RealBin) # create ossetup-engine for given distro and start it: my $engine = OpenSLX::OSSetup::Engine->new; if ($action =~ m[import]i) { - $engine->initialize($vendorOSName, 0, 'import'); + $engine->initialize($vendorOSName, 'import'); if (!-e $engine->{'vendor-os-path'}) { die _tr("'%s' doesn't exist, giving up!\n", $engine->{'vendor-os-path'}); } $engine->addInstalledVendorOSToConfigDB(); } elsif ($action =~ m[update]i) { - $engine->initialize($vendorOSName, 0, 'update'); + $engine->initialize($vendorOSName, 'update'); $engine->updateVendorOS(); } elsif ($action =~ m[install]i) { - $engine->initialize($vendorOSName, 1, 'install'); + $engine->initialize($vendorOSName, 'install'); $engine->installVendorOS(); } elsif ($action =~ m[clone]i) { if (!length($source)) { @@ -118,7 +118,7 @@ if ($action =~ m[import]i) { if ($source !~ m[^.+::?.+$]) { die _tr("Unkown source format given, expected '<hostname>:<path>' or '<hostname>::<module>'!\n"); } - $engine->initialize($vendorOSName, 0, 'clone'); + $engine->initialize($vendorOSName, 'clone'); $engine->cloneVendorOS($source); } |