template-prep/README.md
2016-05-29 02:53:02 -05:00

415 B

template-prep

Taken scripts from https://lonesysadmin.net/2013/03/26/preparing-linux-template-vms/

Notes:

The thin script is kinda flaky. This seems to work better.

dd if=/dev/zero of=thin bs=1M

and for Ubuntu, make sure you use apt instead of yum and make sure that your system is set to regenerate the SSH keys upon boot.

in your rc.local file:

dpkg-reconfigure openssh-server