summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Tappe2007-05-02 23:46:47 +0200
committerOliver Tappe2007-05-02 23:46:47 +0200
commit679efe16757beda042e0ecba2765737c2b326d22 (patch)
treebbfd06d0826bc3cbb97f14e1ee4a27ae90d900c5
parentoverhaul the settings concept: (diff)
downloadcore-679efe16757beda042e0ecba2765737c2b326d22.tar.gz
core-679efe16757beda042e0ecba2765737c2b326d22.tar.xz
core-679efe16757beda042e0ecba2765737c2b326d22.zip
* renamed 'ossetup-max-retry-count' to 'ossetup-max-try-count' and started to use it
in OSSetup::Engine. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@989 95ad53e4-c205-0410-b2fa-d234c58c8868
-rw-r--r--installer/OpenSLX/OSSetup/Engine.pm2
-rw-r--r--lib/OpenSLX/Basics.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm
index fde5f2f9..a9376132 100644
--- a/installer/OpenSLX/OSSetup/Engine.pm
+++ b/installer/OpenSLX/OSSetup/Engine.pm
@@ -449,7 +449,7 @@ sub downloadBaseFiles
my $pkgSubdir = $self->{'distro-info'}->{'package-subdir'};
my @URLs = @{$self->{'baseURLs'}};
- my $maxTryCount = 5; # TODO: make this configurable!
+ my $maxTryCount = $openslxConfig{'ossetup-max-try-count'};
my @foundFiles;
foreach my $fileVariantStr (@$files) {
diff --git a/lib/OpenSLX/Basics.pm b/lib/OpenSLX/Basics.pm
index f1c39e05..ef37e79a 100644
--- a/lib/OpenSLX/Basics.pm
+++ b/lib/OpenSLX/Basics.pm
@@ -68,7 +68,7 @@ my %translations;
'system-default-nicmods'
=> 'forcedeth e1000 e100 tg3 via-rhine r8169 pcnet32',
'system-default-fsmods' => '',
- 'ossetup-max-retry-count' => '5',
+ 'ossetup-max-try-count' => '5',
);
chomp($openslxConfig{'locale-charmap'});
$openslxConfig{'bin-path'}