Update netns-interface@.service
This commit is contained in:
parent
b435c3e2d6
commit
71ac99d716
@ -11,6 +11,7 @@ EnvironmentFile=/etc/systemd/network/netns/netns-%i-interface.conf
|
|||||||
|
|
||||||
ExecStart=/sbin/ip link add ${ROOT_NS_INTF_NAME}-%i type veth peer name ${IN_NS_INTF_NAME}-%i
|
ExecStart=/sbin/ip link add ${ROOT_NS_INTF_NAME}-%i type veth peer name ${IN_NS_INTF_NAME}-%i
|
||||||
ExecStart=/sbin/ip link set ${IN_NS_INTF_NAME}-%i netns %i
|
ExecStart=/sbin/ip link set ${IN_NS_INTF_NAME}-%i netns %i
|
||||||
|
ExecStart=/sbin/ip addr add ${ROOT_NS_INTF_IP} dev ${ROOT_NS_INTF_NAME}-%i
|
||||||
ExecStart=/sbin/ip link set ${ROOT_NS_INTF_NAME}-%i up
|
ExecStart=/sbin/ip link set ${ROOT_NS_INTF_NAME}-%i up
|
||||||
ExecStart=/sbin/ip netns exec %i ip addr add ${IN_NS_INTF_IP} dev ${IN_NS_INTF_NAME}-%i
|
ExecStart=/sbin/ip netns exec %i ip addr add ${IN_NS_INTF_IP} dev ${IN_NS_INTF_NAME}-%i
|
||||||
ExecStart=/sbin/ip netns exec %i ip link set ${IN_NS_INTF_NAME}-%i up
|
ExecStart=/sbin/ip netns exec %i ip link set ${IN_NS_INTF_NAME}-%i up
|
||||||
|
Loading…
Reference in New Issue
Block a user