roles/net-ifaces: Configure virtual net interfaces
The *net-ifaces* role manages a script that creates virtual network interfaces, such as bridge, bond, and VLAN, that `dhcpcd`/`dhclient` alone cannot. This provides a lightweight alternative to *systemd-networkd* and *NetworkMangager*.
This commit is contained in:
11
roles/net-ifaces/files/net-ifaces.service
Normal file
11
roles/net-ifaces/files/net-ifaces.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Create virtual network interfaces
|
||||
Before=network.target network-online.target dhcpcd.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/libexec/net-ifaces.sh
|
||||
RemainAfterExit=true
|
||||
|
||||
[Install]
|
||||
WantedBy=network.target
|
||||
Reference in New Issue
Block a user