]> git.mjollnir.org Git - vserverctl.git/commitdiff
switched to lenny and a .ch debian mirror, and 1.0.0.1
authorPenny Leach <penny@mjollnir.org>
Thu, 3 Mar 2011 12:08:06 +0000 (13:08 +0100)
committerPenny Leach <penny@mjollnir.org>
Thu, 3 Mar 2011 12:08:06 +0000 (13:08 +0100)
vserverctl

index 0f943374b9766f665db294e4608eded1e35d154e..691b273c57fada492dbc963cc748c8ff70bab868 100755 (executable)
@@ -161,9 +161,9 @@ sub readConfig { # {{{
 
     my $defaultConfig = {
         'name'                 => 'default',
-        'mirror'               => 'http://debian.catalyst.net.nz/debian',
+        'mirror'               => 'http://ftp.ch.debian.org/debian',
         'parent'               => undef,
-        'release'              => 'etch',
+        'release'              => 'squeeze',
         'inherit-files'        => 1,
         'inherit-packages'     => 1,
         'inherit-post-host'    => 1,
@@ -274,7 +274,7 @@ sub getFreeIPAddress { # {{{
     }
 
     for ( my $i = 1; $i < 255 ; $i++ ) {
-        return "10.0.0.$i" unless $existingIp->{$i};
+        return "1.0.0.$i" unless $existingIp->{$i};
     }
 
     return undef;