networkd: Add example to create MACVTAP and attach it to a link (#4946)

Fixes: #4914
This commit is contained in:
Susant Sahani
2016-12-23 18:09:29 +01:00
committed by Lennart Poettering
parent 07d6181589
commit 42125eda21
2 changed files with 21 additions and 0 deletions
+9
View File
@@ -1230,6 +1230,15 @@ Kind=vrf
[VRF]
TableId=42</programlisting>
</example>
<example>
<title>/etc/systemd/network/25-macvtap.netdev</title>
<para>Create a MacVTap device.</para>
<programlisting>[NetDev]
Name=macvtap-test
Kind=macvtap
</programlisting>
</example>
</refsect1>
<refsect1>
<title>See Also</title>