in Linux

kickstart usage in RHEL6

Kickstart is used in Redhat Linux automatically perform unattended operating system installation and configuration.Install Kickstart

yum install system-config-kickstart

Start the kickstart at “Applications->System Tools->Kickstart”

you can generate your kickstart configuration file from kickstart configurator, just configure it one step by one step, herewith one link of the detail:

http://blog.sina.com.cn/s/blog_64aac6750100zrwn.html

here I generated ks_XiongX.cfg, add one line key –skip

key --skip
# Install OS instead of upgrade
install

change the access condition,

 

chmod 777 ks_xiongX.cfg

I uploaded to 192.168.0.254, folder /var/www/html/, this can be accessed by http://192.168.0.254/ks_xiongX.cfg

Install the Linux in the KVM by the kickstart, first install the KVM

# yum install kvm qemu-kvm python-virtinst libvirt libvirt-python virt-manager libguestfs-tools

Create new KVM, choose ‘network boot’

link to the DVD source and the kickstart configuration file.

remaining configuration, can refer to: http://blog.sina.com.cn/s/blog_64aac6750100zrwn.html

Start the KVM machine, will automatically install the linux.

Next, will be the kickstart installation on the Oracle VirtaulBox, you need to create the virtual machine first, and choose to install the Linux later, the “setting” of this virtual machine is as below, you can also refer to this link: http://blog.sina.com.cn/s/blog_64aac6750100zyqb.html

choose the boot order from the network,

Network set as host only and use the same network adapter as 192.168.0.254,

Start the machine, use tab key to edit the command line to “ks_xiongX.cfg”, after enter key, the installation will start automatically.

 

Write a Comment

Comment

3 × two =