LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Certification (http://www.linuxquestions.org/questions/linux-certification-46/)
-   -   Installing Virtual Machine Using Kickstart file Question (RHCSA)? (http://www.linuxquestions.org/questions/linux-certification-46/installing-virtual-machine-using-kickstart-file-question-rhcsa-4175465709/)

kaspro 06-12-2013 08:14 AM

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!

mike_rhce 06-17-2013 11:38 PM

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.

paulshwang 06-24-2013 07:57 AM

Quote:

Originally Posted by kaspro (Post 4970265)
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.


All times are GMT -5. The time now is 06:19 AM.