I have a problem with a network during a boot.
Created /etc/rc.local and starting network from there.
My network setup is
Code:
pve-asrock-02 log # grep systemd syslog
...
Jul 25 19:38:16 pve-asrock-02 systemd[1]: ifupdown-pre.service: Main process exited, code=exited, status=1/FAILURE
Jul 25 19:38:16 pve-asrock-02 systemd[1]: ifupdown-pre.service: Failed with result 'exit-code'.
Jul 25 19:38:16 pve-asrock-02 systemd[1]: Failed to start Helper to synchronize boot up for ifupdown.
Jul 25 19:38:16 pve-asrock-02 systemd[1]: Dependency failed for Raise network interfaces.
Jul 25 19:38:16 pve-asrock-02 systemd[1]: networking.service: Job networking.service/start failed with result 'dependency'.
...
Code:
#!/bin/sh -e
#
# rc.local
#
/usr/sbin/ifup vmbr0
Code:
allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds eth0 eth2
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options lacp=active bond_mode=balance-slb
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
iface eth3 inet manual
auto vmbr0
iface vmbr0 inet static
address 172.16.104.161
netmask 24
gateway 172.16.104.1
ovs_type OVSBridge
ovs_ports bond0