diff --git a/cloud-init-0.6.2-sshkeytypes.patch b/cloud-init-0.6.2-sshkeytypes.patch new file mode 100644 index 0000000..d3eaadc --- /dev/null +++ b/cloud-init-0.6.2-sshkeytypes.patch @@ -0,0 +1,45 @@ +Index: cloud-init/cloudinit/CloudConfig/cc_ssh.py +=================================================================== +--- cloud-init.orig/cloudinit/CloudConfig/cc_ssh.py ++++ cloud-init/cloudinit/CloudConfig/cc_ssh.py +@@ -61,10 +61,10 @@ def handle(name,cfg,cloud,log,args): + log.debug("generated %s from %s" % pair) + else: + # if not, generate them +- genkeys ='ssh-keygen -f /etc/ssh/ssh_host_rsa_key -t rsa -N ""; ' +- genkeys+='ssh-keygen -f /etc/ssh/ssh_host_dsa_key -t dsa -N ""; ' +- genkeys+='ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -t ecdsa -N ""; ' +- subprocess.call(('sh', '-c', "{ %s } - 0.6.2-0.3.bzr450 - Fixed logfile permission checking +- Fixed SSH key generation * Fri Sep 23 2011 Garrett Holmstrom - 0.6.2-0.2.bzr450 - Updated tzsysconfig patch