Message ID | 20171020103840.32762-10-wei.liu2@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Wei Liu writes ("[OSSTEST PATCH 09/16] ts-host-install: don't use the new nic naming scheme"): > Signed-off-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
diff --git a/ts-host-install b/ts-host-install index 20b8a60..530bc5c 100755 --- a/ts-host-install +++ b/ts-host-install @@ -271,6 +271,10 @@ END # why this is repeated. push @hocmdline, "console=$console" unless $console eq "NONE"; + # 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, get_host_property($ho, "linux-boot-append $ho->{Suite}", ''), get_host_property($ho, "linux-boot-append $ho->{Suite} $r{arch}", '');
Signed-off-by: Wei Liu <wei.liu2@citrix.com> --- ts-host-install | 4 ++++ 1 file changed, 4 insertions(+)