From: Justin Pettit Date: Fri, 11 Dec 2009 21:03:01 +0000 (-0800) Subject: xenserver: Suppress output when creating initial config DB X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef5e2fe54d0a54a66f9c696be532ced8db9110fc;p=openvswitch xenserver: Suppress output when creating initial config DB --- diff --git a/xenserver/etc_init.d_vswitch b/xenserver/etc_init.d_vswitch index 60bbd055..7263336b 100755 --- a/xenserver/etc_init.d_vswitch +++ b/xenserver/etc_init.d_vswitch @@ -335,7 +335,7 @@ function start { warning "$OVSDB_SERVER_DB does not exist" action "Creating empty database $OVSDB_SERVER_DB" true - $ovsdb_tool create "$OVSDB_SERVER_DB" "$VSWITCHD_OVSDB_SCHEMA" + $ovsdb_tool -vANY:console:emer create "$OVSDB_SERVER_DB" "$VSWITCHD_OVSDB_SCHEMA" fi start_ovsdb_server diff --git a/xenserver/vswitch-xen.spec b/xenserver/vswitch-xen.spec index ba78a4db..27a2d9bd 100644 --- a/xenserver/vswitch-xen.spec +++ b/xenserver/vswitch-xen.spec @@ -190,11 +190,11 @@ fi if test ! -e /etc/ovs-vswitchd.conf.db; then # Create ovs-vswitchd config database - ovsdb-tool create /etc/ovs-vswitchd.conf.db \ - /usr/share/vswitch/vswitch-idl.ovsschema + ovsdb-tool -vANY:console:emer create /etc/ovs-vswitchd.conf.db \ + /usr/share/vswitch/vswitch-idl.ovsschema \ # Create initial table in config database - ovsdb-tool transact /etc/ovs-vswitchd.conf.db \ + ovsdb-tool -vANY:console:emer transact /etc/ovs-vswitchd.conf.db \ '[{"op": "insert", "table": "Open_vSwitch", "row": {}}]' \ > /dev/null fi