]> xenbits.xensource.com Git - people/dariof/osstest.git/commitdiff
Debian: Remove ARM naming quirk.
authorIan Campbell <ian.campbell@citrix.com>
Fri, 6 Sep 2013 09:03:04 +0000 (10:03 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 6 Sep 2013 09:05:25 +0000 (10:05 +0100)
The machines had DNS entries for each network port as FOO-p0 and -p1, with FOO
being an alias. This meant Debian installer picked up the -p0 name for the
volume group. DNS has been fixed so that the primary host name omits the -p0
suffix and therefore matches e.g. the xenuse and osstest naming.

Osstest/Debian.pm

index 696e764b3f5498b7d5ad4417e33bdb63277c6993..4c068ca7231e3f611aa1ea0ca486478a578cb0f7 100644 (file)
@@ -482,7 +482,7 @@ END
     }
 
     if ( $ho->{Flags}{'need-uboot-bootscr'} ) {
-       my $vg = "$ho->{Name}-p0"; # host name is p0
+       my $vg = "$ho->{Name}";
 
        $vg =~ s/-/--/g; # Escape the dashes
        my $root="/dev/mapper/$vg-root";