This commit is contained in:
2022-02-15 16:45:38 +01:00
parent e4bd49dd92
commit 9fadd0642d
4 changed files with 25 additions and 7 deletions

View File

@ -29,11 +29,11 @@ network_interfaces:
family: inet
method: manual
pre-up:
- ifconfig $IFACE up
- /sbin/ip link set dev $IFACE up
post-up:
- /sbin/ip link add link eno2 name eno2.11 type vlan id 11
post-down:
- ifconfig $IFACE down
- /sbin/ip link set dev $IFACE down
- device: eno2.11