template-prep/README.md

22 lines
415 B
Markdown
Raw Normal View History

2015-11-27 09:14:02 +00:00
# template-prep
2015-11-27 09:17:13 +00:00
Taken scripts from https://lonesysadmin.net/2013/03/26/preparing-linux-template-vms/
2016-05-29 07:53:02 +00:00
Notes:
The thin script is kinda flaky. This seems to work better.
```bash
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:
```bash
dpkg-reconfigure openssh-server
```
2015-11-27 09:17:13 +00:00