LoginSignup
0
2

More than 5 years have passed since last update.

Ubuntu 16.04 で Open vSwitch がちゃんとブリッジしない

Last updated at Posted at 2018-01-29

概要

/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 はしらん.

参考リンク

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2