cmdline ignored

Rodney Mercer rmercer at harris.com
Wed Jul 9 16:35:31 UTC 2008


On Wed, 2008-07-09 at 12:00 -0400, kickstart-list-request at redhat.com
wrote:
>                                  From: 
>         Amos Shapira
>         <amos.shapira at gmail.com>
>                              Reply-To: 
>         Discussion list about Kickstart
>         <kickstart-list at redhat.com>
>                                    To: 
>         kickstart-list at redhat.com
>                               Subject: 
>         cmdline ignored
>                                  Date: 
>         Wed, 9 Jul 2008 18:57:03 +1000
>         (04:57 EDT)
>         
>         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

Amos,

I don't know if it will make a difference, but I have: "keyboard us"
as an option in my kickstart config where it is missing in yours. I
haven't done the Xen kickstart thing however. Good luck.

Rodney.





More information about the Kickstart-list mailing list