# Copyright (c) 2013, 2014, 2015 Nicira, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Copyright (c) 2013, 2014, 2015 Nicira, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
_sh("chown", options.user, "-R", RUNDIR);
opts = ["--user", options.user] + opts
_sh("chown", options.user, "-R", RUNDIR);
opts = ["--user", options.user] + opts
_sh(*(["ovsdb-server",
"--remote=punix:%s/run/db.sock" % RUNDIR,
"--remote=db:Open_vSwitch,Open_vSwitch,manager_options",
_sh(*(["ovsdb-server",
"--remote=punix:%s/run/db.sock" % RUNDIR,
"--remote=db:Open_vSwitch,Open_vSwitch,manager_options",
# First install the basic requirements needed to build Open vSwitch.
sudo apt-get install git build-essential libtool autoconf pkg-config \\
# First install the basic requirements needed to build Open vSwitch.
sudo apt-get install git build-essential libtool autoconf pkg-config \\
help="Use binaries built by clang")
group.add_option("--user", dest="user", action="store", default="",
help="run all daemons as a non root user")
help="Use binaries built by clang")
group.add_option("--user", dest="user", action="store", default="",
help="run all daemons as a non root user")