incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lalancette <clala...@redhat.com>
Subject [PATCH 2/4] Change the initscript to use the mock driver by default.
Date Thu, 15 Sep 2011 17:57:32 GMT
Since it is owned by the top-level deltacloud-core package
(and not the deltacloud-core-ec2 subpackage), there is no
guarantee that the ec2 driver will work.  Instead, use the
mock driver by default (which we know will work), and leave
it up to the user to install subpackages if they want to
use other drivers.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
---
 server/support/fedora/deltacloud-core |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/support/fedora/deltacloud-core b/server/support/fedora/deltacloud-core
index c645f38..dc7de7f 100755
--- a/server/support/fedora/deltacloud-core
+++ b/server/support/fedora/deltacloud-core
@@ -32,10 +32,10 @@ prog="deltacloud-core"
 #
 #
 API_ENV="${ENV:-production}"
-DRIVER="${DRIVER:-ec2}"
+DRIVER="${DRIVER:-mock}"
 PORT="${PORT:-3002}"
 LOGFILE="${LOGFILE:-/var/log/$prog/$DRIVER.log}"
-lockfile="${LOCKFILE:-/var/lock/subsys/$prog }"
+lockfile="${LOCKFILE:-/var/lock/subsys/$prog}"
 
 [ -r $LOGFILE ] && chown nobody $LOGFILE
 [ -r $lockfile ] && chown nobody $lockfile
-- 
1.7.4.4


Mime
View raw message