[Service] # Uncomment the next line if you want to name you taps after the instance # Environment=%i_TAP=%i # Creates a unique socket for each instance, makes running multiple instances possible Environment=%i_SOCKET_DIR=/var/run/vde-%i.ctl # These settings apply for the qemu instance. This instance should work for most Qemu users. # Overide the "dynamic" socket from above to point to the default one for the qemu instance Environment="qemu_SOCKET_DIR=/var/run/vde.ctl" # Misc arguments to the command line Environment="qemu_ARGS=--mode 0660 --dirmode 0750 --group qemu" # Tap device wich will be created. Setting is also used for vde-ifconfig@qemu.service instance Environment="qemu_TAP=tap0" # IP for Tap device. Setting only used by vde-ifconfig@qemu.service instance. You need to enable/start this unit if you want this IP to be configured. Environment="qemu_IP=10.0.0.1/24" # You may also declare environment variables on a single line # Environment="foo_args=--mode 0600 --dirmode 0700" "foo_TAP=tap1" "foo_IP=10.0.1.1/24" # An Tap interface is not *neccesary* to be defined. vde@.service will not fail if ommited, but you will get a warning in the logs. # vde-ifconfig@.service will fail, so don't start or enable without a tap defined for this instance # Environment="bar_args=--mode 0600 --dirmode 0700"