- 论坛徽章:
- 9
|
是用 cobbler 安装完系统后 fdisk
使用其它方式安装, 就不会出现这种问题. 这个怎么解决?
anaconda-ks.cfg 文件内容- [root@localhost ~]# cat anaconda-ks.cfg
- # Kickstart file automatically generated by anaconda.
- #version=DEVEL
- install
- url --url=ftp://192.168.1.207/CentOS-6.5-x86_64/
- lang en_US.UTF-8
- keyboard us
- network --onboot yes --device eth0 --mtu=1500 --bootproto static --ip 192.168.1.253 --netmask 255.255.255.0 --gateway 192.168.1.1 --noipv6 --nameserver 8.8.8.8
- rootpw --iscrypted $1$BF1Wr8yl$cx/51xDU19TuNMX41bI.S/
- firewall --disabled
- authconfig --useshadow --passalgo=sha512
- selinux --disabled
- timezone Asia/Shanghai
- bootloader --location=mbr --driveorder=sda --append="crashkernel=auto 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=ext4 --asprimary --size=100
- #part / --fstype=ext4 --asprimary --size=6144
- #part swap --asprimary --size=1024
- repo --name="CentOS" --baseurl=ftp://192.168.1.207/CentOS-6.5-x86_64/ --cost=100
- %packages --nobase
- @Core
- @core
- %end
复制代码 |
|