LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > Linux - Certification
User Name
Password
Linux - Certification This forum is for the discussion of all topics relating to Linux certification.

Notices

Reply
 
Search this Thread
Old 06-12-2013, 08:14 AM   #1
kaspro
Member
 
Registered: Apr 2013
Posts: 33

Rep: Reputation: Disabled
Question Installing Virtual Machine Using Kickstart file Question (RHCSA)?


Hello everyone, i'm very close to my RHCSA exam and i'm preparing for it, and i'm going pretty well except for this one thing which confuses me, i should modify a given ks file with specific ip address and hostname then use that file to install a virtual machine.
Now i'm confused with the bestway to do this, modify the ks file and installing a virtual machine using ks, If someone please show me the best way to do that.
Thanks!
 
Old 06-17-2013, 11:38 PM   #2
mike_rhce
Member
 
Registered: Jun 2011
Posts: 158

Rep: Reputation: Disabled
Dear kaspro, have you read the Red Hat documentation for the Kickstart file? The answers you seek are there. If there's something that confuses you about that documentation, let us know.
 
Old 06-24-2013, 07:57 AM   #3
paulshwang
LQ Newbie
 
Registered: Jun 2013
Distribution: RHCE
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by kaspro View Post
Hello everyone, i'm very close to my RHCSA exam and i'm preparing for it, and i'm going pretty well except for this one thing which confuses me, i should modify a given ks file with specific ip address and hostname then use that file to install a virtual machine.
Now i'm confused with the bestway to do this, modify the ks file and installing a virtual machine using ks, If someone please show me the best way to do that.
Thanks!
mike_rhce, thanks for still taking the time to check the forums. I got way more out of your book than i did from a 3000 dollar training class from Oracle University on Oracle Linux.. haha.

kaspro,

One way to use the kickstart file is to boot the VM from the CD and hit tab while Install or Upgrade is highlighted.. you can then put the location of the kickstart file at the end of the line for example ks=ftp://192.168.122.1/pub/kickstart.cfg

Another way that you can use the kickstart file during the creation of the VM while doing virt-install from cli.. you can add extra arguments with the -x switch..

-x "ks=ftp://192.168.122.1/pub/kickstart.cfg"

This is assuming you have the kickstart file available on an ftp server. You can also point it to an apache server or a location on the hdd.
 
  


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
file sharing between a virtual machine and the host machine okok Linux - Networking 3 06-21-2013 12:42 AM
Issue faced while installing Linux in virtual machine in Oracle virtual box ravisingh1 Linux - Virtualization and Cloud 5 04-07-2013 10:42 AM
[SOLVED] RHL 6.0 Unable to download the Kickstart file/ Error downloading kickstart file AnApproach2DigestLinux Linux - Newbie 3 11-23-2012 05:50 PM
host machine virtual machine question kaplan71 Linux - General 2 03-31-2011 05:14 PM
Kickstart installing a VM machine stuck at /dev/vda. ameng Linux - Virtualization and Cloud 2 10-13-2010 09:53 AM


All times are GMT -5. The time now is 03:45 AM.

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