21e3fb185c
cloud-init is expected to generate unique hostkeys on first boot, but sometimes it doesn't. This change ensures that hostkeys are always generated. This change should be removed if the cloud-init problem is solved. Change-Id: I7d7e05fbd12727992cf1aebec547ae0488e002ff
4 lines
188 B
Bash
Executable file
4 lines
188 B
Bash
Executable file
#!/bin/bash
|
|
# NOTE: this file should be removed once cloud-init is properly generating hostkeys
|
|
# https://bugs.launchpad.net/diskimage-builder/+bug/1124593
|
|
dpkg-reconfigure openssh-server
|