summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNauman Ahad <Nauman_Ahad@dell.com>2015-12-16 11:59:22 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-16 11:59:22 +0000
commit7f061dd14f80d90e94d25f9ef68cc46f0ef13427 (patch)
tree1682854be20c020443b1fa35ed39dace5d77f9b9
parentd90f2b8fa54ca7b363eb75e321db768569a3ecd8 (diff)
parent8c9207f71147e9e4b44f813793c5bf04f4eba381 (diff)
Merge "Removed Root previlages"
-rw-r--r--func/spawn_vm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/func/spawn_vm.py b/func/spawn_vm.py
index df48bb14..e7947008 100644
--- a/func/spawn_vm.py
+++ b/func/spawn_vm.py
@@ -252,7 +252,7 @@ class SpawnVM(Env_setup):
if i['output_key'] == 'KeyPair_PublicKey':
sshkey = str(i['output_value'])
- with open('/root/.ssh/my_key.pem', 'w') as fopen:
+ with open('./data/my_key.pem', 'w') as fopen:
fopen.write(sshkey)
fopen.close()
print Env_setup.ip_pw_list