[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH v2 4/5] ts-debian-hvm-install: Disable net.ifnames for Debian HVM guests



Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 ts-debian-hvm-install | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install
index a01cfb2b..4deb443e 100755
--- a/ts-debian-hvm-install
+++ b/ts-debian-hvm-install
@@ -135,6 +135,14 @@ sub gcmdline (;$) {
 
     push @dicmdline, $gconsole;
 
+    # 
https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
+    # In fact these are anything but predictable.  In Debian i386
+    # stretch, we end up using the emulated NIC in the installer but
+    # the Xen PV VIF in the installed system.  We want these both to
+    # be eth0, which is what happens if we turn off the new scheme and
+    # take no further special measures.
+    push @dicmdline, 'net.ifnames=0';
+
     return join(" ", @dicmdline);
 }
 
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.