xenserver: Suppress output when creating initial config DB
authorJustin Pettit <jpettit@nicira.com>
Fri, 11 Dec 2009 21:03:01 +0000 (13:03 -0800)
committerJustin Pettit <jpettit@nicira.com>
Sat, 12 Dec 2009 01:09:08 +0000 (17:09 -0800)
xenserver/etc_init.d_vswitch
xenserver/vswitch-xen.spec

index 60bbd055cba5e94b2ff42250a33c33fa601f23e5..7263336b3ea5e03c5d60de2297c5533de4ed416c 100755 (executable)
@@ -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
index ba78a4db084e5940355bb59a890f0bd91d55cfce..27a2d9bd1dddcce4dcd08f4e0d8761748e1625a5 100644 (file)
@@ -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