| Red Hat This forum is for the discussion of Red Hat Linux. |
| Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-03-2012, 01:03 PM
|
#1
|
|
Member
Registered: Jun 2012
Posts: 138
Rep: 
|
What is best approach for a hands-free install?
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?
|
|
|
|
07-03-2012, 01:18 PM
|
#2
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,788
|
If Slackware is an option for you, read this from AlienBOB aka Eric Hameleers. If it's not exactly what you want, you could adapt according to your needs.
EDIT Oh, and I almost forgot: welcome to LQ.
Last edited by Didier Spaier; 07-03-2012 at 01:19 PM.
|
|
|
|
07-03-2012, 02:01 PM
|
#3
|
|
Member
Registered: Jun 2012
Posts: 138
Original Poster
Rep: 
|
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.
|
|
|
|
07-03-2012, 02:39 PM
|
#4
|
|
Senior Member
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144
|
Quote:
Originally Posted by PeterSteele
...
The trick is to have the subsequent install of the OS to as fast as possible and completely hands-free.
|
That's why CentOS (RHEL based, like Scientific Linux, Fedora..) has kickstart, example ks.
Last edited by lithos; 07-03-2012 at 02:45 PM.
|
|
|
|
07-03-2012, 02:51 PM
|
#5
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,221
|
I would go for Kickstart (Red Hat based), Preseed (Debian based) or, if all the VMs are the same, just cloning a harddisk-image that has the OS on it.
|
|
|
|
07-03-2012, 03:30 PM
|
#6
|
|
Member
Registered: Jun 2012
Posts: 138
Original Poster
Rep: 
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:10 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|