]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
buster: ts-host-install: Extend net.ifnames workaround
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 27 Sep 2019 16:46:27 +0000 (17:46 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Mon, 8 Jun 2020 15:33:28 +0000 (16:33 +0100)
Really we should fix this by making a .deb in Debian that we could
install.  But this is a longer-term project.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-host-install

index 7a72a8670a01bcd485d0d305ffe453c0a1f58603..fe26f70f1a5d694e16a7df37a92b0e403ca38644 100755 (executable)
@@ -282,7 +282,7 @@ END
 
     # Don't use "Predictable Network Interface Names"
     # https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
-    push @hocmdline, "net.ifnames=0" if $ho->{Suite} =~ m/stretch/;
+    push @hocmdline, "net.ifnames=0" if $ho->{Suite} =~ m/stretch|buster/;
 
     push @hocmdline,
         get_host_property($ho, "linux-boot-append $ho->{Suite}", ''),