summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-gen-tapdevs
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2016-04-04 17:11:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-06 22:57:26 +0100
commit60786b8d90062beaa55c941075496b723eb2b4d7 (patch)
tree535f3361e0310b6ff108be808de0c43e94dac6b2 /scripts/runqemu-gen-tapdevs
parent634aeed0c215febc016783306b9cebbe02992a90 (diff)
downloadpoky-60786b8d90062beaa55c941075496b723eb2b4d7.tar.gz
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] (From OE-Core rev: 503a80de1cc9097fdc8f6b5b7d0e3a3991b0ecd2) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-gen-tapdevs')
-rwxr-xr-xscripts/runqemu-gen-tapdevs9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs
index d3b27be291..624deacb70 100755
--- a/scripts/runqemu-gen-tapdevs
+++ b/scripts/runqemu-gen-tapdevs
@@ -85,6 +85,15 @@ for ((index=0; index < $COUNT; index++)); do
85 fi 85 fi
86done 86done
87 87
88if [ $COUNT -gt 0 ]; then
89 echo "Note: For systems running NetworkManager, it's recommended"
90 echo "Note: that the tap devices be set as unmanaged in the"
91 echo "Note: NetworkManager.conf file. Add the following lines to"
92 echo "Note: /etc/NetworkManager/NetworkManager.conf"
93 echo "[keyfile]"
94 echo "unmanaged-devices=interface-name:tap*"
95fi
96
88# The runqemu script will check for this file, and if it exists, 97# The runqemu script will check for this file, and if it exists,
89# will use the existing bank of tap devices without creating 98# will use the existing bank of tap devices without creating
90# additional ones via sudo. 99# additional ones via sudo.