cmdline ignored

Klaus Steden klaus.steden at thomson.net
Wed Jul 9 17:48:02 UTC 2008


The usual advice is to stuff a 'sleep 9999999' in there somewhere and check
things out on tty2, the virtual console that gets enabled after Kickstart
begins.

cheers,
Klaus

On 7/9/08 1:57 AM, "Amos Shapira" <amos.shapira at gmail.com>did etch on stone
tablets:

> 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list




More information about the Kickstart-list mailing list