mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-18 20:37:57 +00:00
Force default location pidfiles to be created at DB creation time, so utils like ovs-appctl can find the PID.
This commit is contained in:
parent
526c87b819
commit
2df9a11a80
@ -20,8 +20,8 @@ if [ ! -f "/etc/openvswitch/conf.db" ]
|
||||
then
|
||||
ovsdb-tool create /etc/openvswitch/conf.db /usr/share/openvswitch/vswitch.ovsschema
|
||||
|
||||
ovsdb-server --detach --remote=punix:/var/run/openvswitch/db.sock
|
||||
ovs-vswitchd --detach
|
||||
ovsdb-server --detach --pidfile --remote=punix:/var/run/openvswitch/db.sock
|
||||
ovs-vswitchd --detach --pidfile
|
||||
ovs-vsctl --no-wait init
|
||||
|
||||
x=0
|
||||
|
Loading…
Reference in New Issue
Block a user