Linux Kickstart 停止并显示有关“CD Found”的对话框

Linux Kickstart 停止并显示有关“CD Found”的对话框

我正在虚拟机中安装 Red Hat,我使用来自 url 的 kickstart 文件,但过了一会儿系统开始加载,它显示一个关于“找到 CD - 开始测试 CD 介质...”的对话框。 ”

启动文件如下所示:

# Kickstart file automatically generated by anaconda.

url --url=http://rha-server/pub/os/rhel5
reboot


install
cdrom
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us-acentos
xconfig --card "VESA driver (generic)" --videoram 12288 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16 --startxonboot  --defaultdesktop gnome
network --device eth0 --bootproto dhcp
rootpw --iscrypted $1$ADLUertwert4DAsC7Hi7nN9S/kvbu.
firewall --disabled
selinux --permissive
authconfig --enableshadow --passalgo=md5
timezone America/Costa_Rica
bootloader --location=mbr --append="rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all
part /boot --fstype ext3 --size=100
part pv.8 --size=10200
#volgroup LV0 --pesize=32768 pv.8
#logvol / --fstype ext3 --name=root --vgname=LV0 --size=6080
#logvol swap --fstype swap --name=swap --vgname=LV0 --size=4096

%packages
@ admin-tools
@ editors
@ emacs
@ system-tools
@ text-internet
@ gnome-desktop
@ dialup
@ compat-arch-support
@ smb-server
@ base-x
@ web-server
@ printing
@ server-cfg
@ development-tools
@ graphical-internet
system-config-httpd
system-config-samba
system-config-printer
system-config-boot
system-switch-mail
kernel
system-config-printer-gui
system-config-kickstart
system-switch-mail-gnome
e2fsprogs
kernel-devel
grub
lvm2

%post

echo "192.168.0.254  rha-server" >> /etc/hosts

RHA_PUB=http://rha-server/pub
curl $RHA_PUB/rha/yum/rha-rhel.repo > /etc/yum.repos.d/rha-rhel.repo
curl $RHA_PUB/rha/yum/rha.repo > /etc/yum.repos.d/rha.repo

yum groupinstall -y "Red Hat Academy Student"

有什么不对?

谢谢!

对话框图像:http://img211.imagevenue.com/img.php?image=261712969_Dialog_122_1128lo.jpg

答案1

“cdrom”行告诉kickstart 进行基于CD-ROM 的安装。删除它,它应该使用您为安装提供的 URL。

相关内容