1 From b7d5f0ca9a76de6d99fc5d6f5cbb8df864c62b7b Mon Sep 17 00:00:00 2001
2 From: Josep Puigdemont <josep.puigdemont@enea.com>
3 Date: Wed, 4 May 2016 14:27:23 +0200
4 Subject: [PATCH] Remove check for root
6 Change-Id: Ic6bfaf07c0d9d347aec2df8724184d0314665503
7 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
10 deploy/deploy-config.py | 1 -
11 deploy/deploy.py | 2 --
12 deploy/environments/virtual_fuel.py | 2 --
13 4 files changed, 10 deletions(-)
15 diff --git a/ci/deploy.sh b/ci/deploy.sh
16 index c08a94b..081806c 100755
19 @@ -209,11 +209,6 @@ do
23 -if [[ $EUID -ne 0 ]]; then
24 - echo "This script must be run as root" 1>&2
28 if [ -z $BASE_CONFIG_URI ] || [ -z $TARGET_LAB ] || \
29 [ -z $TARGET_POD ] || [ -z $DEPLOY_SCENARIO ] || \
31 diff --git a/deploy/deploy-config.py b/deploy/deploy-config.py
32 index 65d51b2..88a1111 100644
33 --- a/deploy/deploy-config.py
34 +++ b/deploy/deploy-config.py
35 @@ -40,7 +40,6 @@ from common import (
37 create_dir_if_not_exists,
43 diff --git a/deploy/deploy.py b/deploy/deploy.py
44 index 56e5bd5..a021e28 100755
45 --- a/deploy/deploy.py
46 +++ b/deploy/deploy.py
47 @@ -33,7 +33,6 @@ from common import (
49 create_dir_if_not_exists,
55 @@ -234,7 +233,6 @@ class AutoDeploy(object):
61 self.cleanup_execution_environment()
63 diff --git a/deploy/environments/virtual_fuel.py b/deploy/environments/virtual_fuel.py
64 index b1a76e4..4ff68f6 100644
65 --- a/deploy/environments/virtual_fuel.py
66 +++ b/deploy/environments/virtual_fuel.py
67 @@ -18,7 +18,6 @@ import time
75 @@ -135,7 +134,6 @@ class VirtualFuel(ExecutionEnvironment):
76 vm_definition_overwrite)
78 def setup_environment(self):
80 self.cleanup_environment()