Network

To start networking link to null have to be created.

ln -s /dev/null /etc/systemd/network/99-default.link

To assign static IP-address file /etc/systemd/network/10-eth-static.network have to be created with followed contents:

[Match]
Name=%network-device-name%

[Network]
Address=192.168.0.2/24
Gateway=192.168.0.1
DNS=192.168.0.1
Domains=%YourDomainName%

To assign dynamic IP-address (DHCP) file /etc/systemd/network/10-eth-dhcp.network have to be created with followed contents:

[Match]
Name=eth0

[Network]
DHCP=ipv4

[DHCP]
UseDomains=true
EOF