[xen-discuss] linux kickstart for domU with a SXCE b90 dom0
Paul Jochum
jochum at alcatel-lucent.com
Tue Jul 29 20:37:09 PDT 2008
John Levon wrote:
> On Tue, Jul 29, 2008 at 08:46:40AM -0700, Paul Jochum wrote:
>
>
>> Hmmm, I wonder if this was changed/broken in build 94? I upgraded the system to build 94, and it seems that autocf requires dns (instead of http) now. Running virt-install with an autocf=http... line, It fails, with:
>> File "/export/builds/xvm_94///proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 794, in set_autocf
>> ValueError: http://135.1.29.1/nfs/xen_guest_sl52_x86_64_ks/kickstart/ks.cfg.1 does not exist
>>
>
> Do you mean NFS?
>
> My apologies, I've mis-remembered how this works. --autocf is
> Solaris-specific (JumpStart). For Linux, you need to specify it with -x
> like the examples here:
>
> http://lists.centos.org/pipermail/centos/2007-June/082377.html
>
> (it would be nice if --autocf understood both Linux and Solaris, but
> it's not a priority for us right now.)
>
> regards
> john
>
Thank you John, that was my problem (basically, use -x (or
--extra-args), but I didn't know I needed the whole "ks=<path>" line).
So, in case someone else needs this, here is a copy of my virt-install
command:
virt-install -n test-dev2 --ram=1024 --vcpus=2 \
--os-type=linux --os-variant=rhel5 \
--file=/dev/zvol/dsk/zfs_pool/xen/lss-kickstart2/root \
--file=/dev/zvol/dsk/zfs_pool/xen/lss-kickstart2/swap \
--accelerate --paravirt --nographics \
--location=http://136.1.29.1/nfs/scientific/52/x86_64/ \
--extra-args="ks=http://136.1.29.1/nfs/kickstart/ks.cfg.4" -d
regards,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/xen-discuss/attachments/20080729/648a29da/attachment.html>
More information about the xen-discuss
mailing list