File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ def check_keypair(driver, configs):
78
78
logging .info ("KEYPAIR does not exist. Creating keypair" )
79
79
key_pair = driver .create_key_pair (name = configs ['AWS_KEYPAIR_NAME' ])
80
80
f = open (configs ['AWS_KEYPAIR_FILE' ], 'w' )
81
- f .write (str (key_pair .private_key ) + ' \n ' )
81
+ f .write (str (key_pair .private_key ))
82
82
f .close ()
83
83
os .chmod (configs ['AWS_KEYPAIR_FILE' ], 0600 )
84
84
logging .info ("KEYPAIR created" )
@@ -117,7 +117,7 @@ def start_headnode(driver, configs):
117
117
print '{0:20} | {1:10} | {2:15}' .format (node .name , NODESTATES [node .state ], node .public_ips [0 ])
118
118
print '-' * 51
119
119
f = open ('./PUBLIC_ADDRESS' , 'w' )
120
- f .write (str (node .public_ips [0 ])) + ' \n ' )
120
+ f .write (str (node .public_ips [0 ]))
121
121
f .close ()
122
122
123
123
Original file line number Diff line number Diff line change 1
- AWS_CREDENTIALS_FILE=~/.ssh/boto-test -credentials.csv
1
+ AWS_CREDENTIALS_FILE=~/.ssh/aws -credentials.csv
2
2
3
3
# Set the number of worker nodes required
4
4
AWS_WORKER_COUNT=5
You can’t perform that action at this time.
0 commit comments