WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Unable to kickstart CentOS5 as DomU when CentOS5 is Dom0 as well.
From: "Yvo van Doorn" <mailinglists@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Mar 2008 12:01:24 -0700
Delivery-date: Thu, 20 Mar 2008 12:01:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Unable to kickstart CentOS5 as DomU when CentOS5 is Dom0 as well., Yvo van Doorn <=