Centos xen http kickstart installation fails with : ‘Unknown command:

centoskickstartxen

I am trying to install a Centos 5.5 xen domU using this method:
http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU

It suggests a kickstart config file served by the local apache.
I managed to install it on a physical machine , but when I am trying the installation on a virtualbox instance (dom0 on latest virtualbox) anaconda exits with the following errors:

Running anaconda, the CentOS system installer - please wait...                 
Traceback (most recent call last):
  File "/usr/bin/anaconda", line 733, in ?
    vncksdata = setVNCFromKickstart(opts)
  File "/usr/bin/anaconda", line 277, in setVNCFromKickstart
    ksparser.readKickstart(opts.ksfile)
  File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 1209, in readKickstart
    self.handleCommand(lineno, args)
  File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 1069, in handleCommand
    raise KickstartParseError, formatErrorMsg(lineno, msg=_("Unknown command: %s" % cmd))
pykickstart.parser.KickstartParseError: The following problem occurred on line 1 of the kickstart file:

Unknown command: <!DOCTYPE

install exited abnormally [1/1] 

an interactive Installation works and I managed to get a funcional xen vm,
the kickstart file is downloable via links, I have Selinux disabled.
I am pretty sure of the kickstart file syntax,
has anyone any hint?

Best Answer

your local apache is serving the incorrect file, i think it is serving an html file instead of the kickstart file.

Unknown command: <!DOCTYPE