Red HatThis forum is for the discussion of Red Hat Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm developing a system that will need to create VMs on the fly programmatically. The create process has to be completely hands-free, so the typical step-by-step wizard isn't an option. What's the best approach to creating a hands-free Linux install? We haven't decided on a specific distro to use but it will likely be CentOS. I read about Kickstart and that might suit our needs, but I was wondering if there are other options?
Thanks Didier. I think I'm going to like LQ a lot. It's breadth is amazing and the forums appear to be very active.
We hadn't considered Slackware up until now. Not sure if this ssh install feature would do what we need; I'll have to experiment. We'll likely end up building our own .img or .iso file and pass that to virt-install. The trick is to have the subsequent install of the OS to as fast as possible and completely hands-free.
The VMs will in fact be largely identical. The only thing that will vary is the amount of swap space allocated to the VM, and for that reason I was thinking a pre-installed .img file might be the best option. I've done this exact sort of thing with FreeBSD. I'll have to investigate the same idea for CentOS.