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 <clala...@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

Reply via email to