Ubuntu Pastebin

Paste from adconrad at Thu, 25 Aug 2016 15:30:34 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff -Nru netcfg-1.138ubuntu1/debian/changelog netcfg-1.138ubuntu2/debian/changelog
--- netcfg-1.138ubuntu1/debian/changelog	2016-08-12 02:34:18.000000000 -0600
+++ netcfg-1.138ubuntu2/debian/changelog	2016-08-25 09:29:05.000000000 -0600
@@ -1,3 +1,10 @@
+netcfg (1.138ubuntu2) yakkety; urgency=medium
+
+  * On NetworkManager-using systems, write a netplan config file to hand
+    over control of all our interfaces to NetworkManager (LP: #1616400)
+
+ -- Adam Conrad <adconrad@ubuntu.com>  Thu, 25 Aug 2016 09:29:05 -0600
+
 netcfg (1.138ubuntu1) yakkety; urgency=medium
 
   * Resynchronise with Debian.  Remaining changes:
diff -Nru netcfg-1.138ubuntu1/finish-install.d/55netcfg-copy-config netcfg-1.138ubuntu2/finish-install.d/55netcfg-copy-config
--- netcfg-1.138ubuntu1/finish-install.d/55netcfg-copy-config	2016-08-12 02:00:07.000000000 -0600
+++ netcfg-1.138ubuntu2/finish-install.d/55netcfg-copy-config	2016-08-25 09:28:59.000000000 -0600
@@ -59,6 +59,14 @@
 	mkdir -p /target/$FILE_PATH_NM_CONFIG
 	cp /$FILE_PATH_NM_CONFIG/* /target/$FILE_PATH_NM_CONFIG/
 
+	# Write netplan config file to hand over management to NM
+	cat <<EOF > /target/etc/netplan/01-network-manager-all.yaml
+# Let NetworkManager manage all devices on this system
+network:
+  version: 2
+  renderer: NetworkManager
+EOF
+
 	# Rewrite /etc/network/interfaces to contain only loopback
 	netcfg write_loopback
 	;;
Download as text