diff options
Diffstat (limited to 'func')
-rw-r--r-- | func/spawn_vm.py | 2 |
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 |