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 installchange 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.
本文介绍了如何利用Kickstart在Redhat Linux环境下进行自动化操作系统的安装与配置,包括安装KVM、创建KVM虚拟机、通过网络引导方式链接DVD源与Kickstart配置文件进行部署。同时,提供了在Oracle VirtualBox中使用Kickstart安装Linux的步骤,从创建虚拟机到选择网络启动方式,直至编辑命令行以自动启动安装。
263

被折叠的 条评论
为什么被折叠?



