On 11/06/2013 12:33 AM, Tom Gundersen wrote:
[Match]
MACAddress=
Path=
Driver=
Type=
Name=
[Network]
Description=
[IP]
Gateway=192.168.1.1
Address=label@192.168.1.23/24
Address=fe80::9aee:94ff:fe3f:c618/64
Hmm..
Cant we try to follow the same construct as the other units?
Something like this perhaps ( I think these for case cover more less the
most common parts )...
The "default" device present spawn *when link is detected* unit "Type=dhcp"
network@<network device>.network
[Unit]
Description=Network device %I
[Service]
Type=|dhcp
Rest provided by dhcp
|The administrator configurable unit "Type=Static"
em1.network
[Unit]
Description=Network device em1
[Service]
Type=static
Address=192.168.0.1/24
[Install]
WantedBy=multi-user.target
The administrator configurable unit "Type=bridge"
bridge0.network
[Unit]
Description=Network device bridge 0
Master=em1
Slave=em2
[Service]
Type=bridge
[Install]
WantedBy=multi-user.target
The administrator configurable unit "Type=bridge"
bond0.network
[Unit]
Description=Network device bonding 0
Master=bond0
Slave=em1,em2
[Service]
Type=bonding
Address=192.168.0.1/24
[Install]
WantedBy=multi-user.target
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel