cmdline ignored

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

We are trying to use the "cmdline" command in kickstart but it seems
that anaconda simply ignores it and stays in the ncurses interface.

Our environment: CentOS 5.2 x86_64 Xen DomU (running under CentOS 5.2
x86_64 Dom0).

Here is a sample kickstart file, served over HTTP from the Dom0:
------8<------------------------------
install
url --url http://192.168.1.4/centos/5.2/os/x86_64
cmdline

logging --level=debug
lang en_US.UTF-8
network --device eth0 --bootproto static --ip=192.168.1.8
--netmask=255.255.255.0 --gateway=192.168.1.1 --nameserver=192.168.1.2
--hostname build01
rootpw --iscrypted encrypted-password
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc Australia/Sydney
bootloader --location=mbr --driveorder=xvda --append="console=xvc0"
poweroff

# Partitioning
zerombr
clearpart --all --initlabel --drives=xvda
part /boot --fstype ext3 --size=100 --ondisk=xvda
part pv.2 --size=0 --grow --ondisk=xvda
volgroup build01 --pesize=32768 pv.2
logvol / --fstype ext3 --name=root --vgname=build01 --size=1024 --grow
logvol swap --fstype swap --name=swap --vgname=build01 --size=256
--grow --maxsize=512

%packages --nobase

%post --log=/root/my-post-log --nochroot
cp -a /root/directory /mnt/sysimage/root/
------8<------------------------------

I asked on the CentOS users mailing list but didn't get any response.

Thanks,

--Amos

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux