]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
rump kernels: Provide proper DHCP instructions to rumprun
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 5 Oct 2016 14:07:57 +0000 (15:07 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 12 Oct 2016 10:03:58 +0000 (11:03 +0100)
Otherwise we just get an unconfigured network interface.  (Requesting
DHCP used to be implicit.)

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Osstest/RumpRun.pm

index 0582bd262f1443aa41e88b962485922d066260a7..f46d520b4e5f8b34abcb6ea59d09dc2fd07dfeb5 100644 (file)
@@ -57,7 +57,8 @@ sub rumprun_guest_create ($) {
 
     my $cmd = "$rumprun xen";
     $cmd .= " -N $gn";
-    $cmd .= " -IIFTAG,IFBASENAME,mac=$gho->{Ether}";
+    $cmd .= " -I xenif0,xenif,mac=$gho->{Ether}";
+    $cmd .= " -W xenif0,inet,dhcp";
     $cmd .= " $imagepath";
     $cmd .= " $cmdline";