You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
meskio 6da0fda86b
Add credits
3 months ago
postinst Add postinst script 3 months ago
.gitignore Add postinst script 3 months ago
README.md Add credits 3 months ago
install.sh Add readme 3 months ago
postinst.sh Add postinst script 3 months ago
preseed.tmpl Add postinst script 3 months ago

README.md

Setup VMs automatically.

Usage

Get the debian iso to install, and ajust if needed the ISOPATH in install.sh.

Copy the ssh public key that you will use in the postinst folder:

$ cp ~/.ssh/id_rsa.pub postinst/authorized_keys

Install the VM providing the hostname and the VM number (the last block of the IP):

$ ./install.sh maquineta 42

Profit!!! Everything should work automatically now. You can watch the installer running by connecting to the console:

$ virsh console maquineta

Tunning

You can configure the memory asigned to the VM, the disk space and the installed packages in install.sh.

Credits

This repo has a lot of copypasta from: https://github.com/pin/debian-vm-install