summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ec2init/CloudConfig.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/ec2init/CloudConfig.py b/ec2init/CloudConfig.py
index d6947ce1..bb19aa72 100644
--- a/ec2init/CloudConfig.py
+++ b/ec2init/CloudConfig.py
@@ -176,12 +176,6 @@ class CloudConfig():
genkeys+='ssh-keygen -f /etc/ssh/ssh_host_dsa_key -t dsa -N ""; '
subprocess.call(('sh', '-c', "{ %s } </dev/null" % (genkeys)))
- # it is possible that an ssh job started either
- # before the files above were unlinked, or while only one of
- # our generated keys were written. In either case, stop that job
- # if anything started from here out it would be ok.
- subprocess.call(('stop', 'ssh'))
-
try:
user = util.get_cfg_option_str(self.cfg,'user')
disable_root = util.get_cfg_option_bool(self.cfg, "disable_root", True)
@@ -192,8 +186,6 @@ class CloudConfig():
send_ssh_keys_to_console()
- subprocess.call(('start', 'ssh'))
-
def h_ec2_ebs_mounts(self,name,args):
print "Warning, not doing anything for config %s" % name