nspawn: add "-n" shortcut for "--network-veth"
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Jan 2015 18:42:02 +0000 (19:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Jan 2015 19:17:06 +0000 (20:17 +0100)
commit0dfaa0060711a8332c8eb9f1e10f48fe182d3650
tree0b991d704d43a7c96363478b7878b070a9c1c238
parentbd763d350c7e8bf8b934bd45bc34ac35cdba2a63
nspawn: add "-n" shortcut for "--network-veth"

Now that networkd's IP masquerading support means that running
containers with "--network-veth" will provide network access out of the
box for the container, let's add a shortcut "-n" for it, to make it
easily accessible.
man/systemd-nspawn.xml
src/nspawn/nspawn.c