LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 07-03-2012, 01:03 PM   #1
PeterSteele
Member
 
Registered: Jun 2012
Posts: 218

Rep: Reputation: Disabled
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?
 
Old 07-03-2012, 01:18 PM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,411

Rep: Reputation: 1122Reputation: 1122Reputation: 1122Reputation: 1122Reputation: 1122Reputation: 1122Reputation: 1122Reputation: 1122Reputation: 1122
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.
 
Old 07-03-2012, 02:01 PM   #3
PeterSteele
Member
 
Registered: Jun 2012
Posts: 218

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-03-2012, 02:39 PM   #4
lithos
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

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by PeterSteele View Post
...
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.
 
Old 07-03-2012, 02:51 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,598
Blog Entries: 2

Rep: Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060
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.
 
Old 07-03-2012, 03:30 PM   #6
PeterSteele
Member
 
Registered: Jun 2012
Posts: 218

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Free Knowledge requires Free Software and Free File Formats LXer Syndicated Linux News 0 06-26-2011 07:22 AM
LXer: Hands-on: fat-free Xfce 4.6 has nice new features LXer Syndicated Linux News 0 03-03-2009 10:40 PM
Hands-free rescue disk richardh1970 Linux - General 2 06-17-2008 08:56 AM
Install src.rpm of new kernel to non-boot disk - best approach mattp52 Linux - Software 1 07-24-2007 08:57 PM
Automatic "hands free" ripping?? alan_h404 Linux - Software 4 04-13-2005 11:12 AM


All times are GMT -5. The time now is 02:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration