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

[Xen-users] Unable to kickstart CentOS5 as DomU when CentOS5 is Dom0 as well.



Hi there,

I have been trying to kickstart CentOS5 as a DomU on a CentOS 5 server
using a standard installation of xen (yum install xen). Whenever it
wants to start anaconda right before the hardware probe it fires off
the following:

Running anaconda, the CentOS system installer - please wait...
Traceback (most recent call last):
  File "/usr/bin/anaconda", line 737, in ?
    vncksdata = setVNCFromKickstart(opts)
  File "/usr/bin/anaconda", line 274, in setVNCFromKickstart
    ksparser.readKickstart(opts.ksfile)
  File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line
1110, in readKickstart
    args = shlex.split(line)
  File "/usr/lib64/python2.4/shlex.py", line 279, in split
    return list(lex)
  File "/usr/lib64/python2.4/shlex.py", line 269, in next
    token = self.get_token()
  File "/usr/lib64/python2.4/shlex.py", line 96, in get_token
    raw = self.read_token()
  File "/usr/lib64/python2.4/shlex.py", line 172, in read_token
    raise ValueError, "No closing quotation"
ValueError: No closing quotation
install exited abnormally [1/1]
sending termination signals...done

I am following the instructions located here:
http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU. This is my xen
configuration file:
[root@xen01 centos]# cat /etc/xen/centos5test
kernel = "/boot/vmlinuz-xen-install"
ramdisk = "/boot/initrd-xen-install"
extra = "text ks=http://xen01.corp.cmates.com/ksconfig/centos5test.ks";
name = "centos5test"
memory = "512"
disk = [ 'tap:aio:/var/lib/xen/images/centos5test.img,xvda,w', ]
vif = [ 'bridge=xenbr0', ]
vcpus=1
on_reboot = 'destroy'
on_crash = 'destroy'
vnc=0
vncunused=1

I personally added the 'vnc=0 and vncunused=1' lines in order for it
to proceed. Both aren't working.

This is my basic kickstart file:
[root@xen01 centos]# cat /var/www/html/ksconfig/centos5test.ks
install
url --url http://172.20.100.62/mirror/centos/5.1/os/x86_64
lang en_US
keyboard us
network --device eth0 --bootproto dhcp
firewall --enabled
authconfig --enableshadow --enablemd5
selinux --disabled
timezone America/Los_Angeles
bootloader --location=mbr --driveorder=xvda --append="console=xvc0"
network --hostname xentest
reboot

Any idea on what I am doing wrong or what could be causing this?

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.