[oe-commits] [openembedded-core] 02/03: runqemu-gen-tapdevs: Add note about NetworkManager & tap devices

git at git.openembedded.org git at git.openembedded.org
Wed Apr 6 10:30:05 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 503a80de1cc9097fdc8f6b5b7d0e3a3991b0ecd2
Author: Saul Wold <sgw at linux.intel.com>
AuthorDate: Mon Apr 4 17:11:56 2016 -0700

    runqemu-gen-tapdevs: Add note about NetworkManager & tap devices
    
    NetworkManager can clobber tap devices if left alone, this gives a
    note about how to set tap* as unmanaged
    
    [YOCTO #8587]
    
    Signed-off-by: Saul Wold <sgw at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/runqemu-gen-tapdevs | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs
index d3b27be..624deac 100755
--- a/scripts/runqemu-gen-tapdevs
+++ b/scripts/runqemu-gen-tapdevs
@@ -85,6 +85,15 @@ for ((index=0; index < $COUNT; index++)); do
 	fi
 done
 
+if [ $COUNT -gt 0 ]; then
+	echo "Note: For systems running NetworkManager, it's recommended"
+	echo "Note: that the tap devices be set as unmanaged in the"
+	echo "Note: NetworkManager.conf file. Add the following lines to"
+	echo "Note: /etc/NetworkManager/NetworkManager.conf"
+	echo "[keyfile]"
+	echo "unmanaged-devices=interface-name:tap*"
+fi
+
 # The runqemu script will check for this file, and if it exists,
 # will use the existing bank of tap devices without creating
 # additional ones via sudo.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list