概要
/etc/network/interfaces
に Open vSwitch の設定をしても,読み込まれない(順番が違う)ので,仕方ないので起動時にupするようにしたメモ.
前提として設定済みであることが必要.
/etc/rc.local
ifup --allow ovs `ifquery --allow ovs --list`
exit 0
/etc/systemd/system/rc-local.service
[Unit]
Description=/etc/rc.local compatibility
[Service]
Type=oneshot
ExecStart=/etc/rc.local
# disable timeout logic
TimeoutSec=0
#StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99
[Install]
WantedBy=multi-user.target
$ systemctl enable rc-local.service
post-down はしらん.