covertsh / ubuntu-autoinstall-generator

Generate a fully-automated Ubuntu ISO for unattended installations.
MIT License
421 stars 141 forks source link

add makefile recipes #10

Closed inmanturbo closed 7 months ago

inmanturbo commented 3 years ago

This just adds a few Makefile recipes such as generating a user-data file from a template, including and/or generating an ssh key, and installing to a vm using virt-install. I just though it fair to share my additions since I've been hacking away at it. No changes to the core script.

covertsh commented 3 years ago

Hi, thank you for your contribution. I think some people will find this very useful although I feel it standardizes too much on QEMU/libvirt for running VMs based on the ISO.

inmanturbo commented 3 years ago

Thanks for the comments.

Most of the options for QEMU/libvirt are configurable via environment variables. However you are welcome to make any changes you see fit, if you see a way to make it more flexible. Or if you have any suggestions for its improvement, perhaps I could take a stab at it.

In any case it doesn't have to be merged. Anyone who needs or wants something like this may find it when browsing forks and PR's.

And thank you very much for the original script. I appreciate it. Is is quite handy.

covertsh commented 3 years ago

I've used your .gitignore file for the project. Thanks again for your contribution.