On Thu, 2010-02-25 at 11:57 +0000, Richard W.M. Jones wrote: > On Thu, Feb 04, 2010 at 10:45:37AM +0800, Li Ming wrote: > > Hi, > > How can I pass the ks argument to a guest during install? I am > > writing an auto install python script,I can use virt-install --location > > install_tree --extra-args ks=...., but this will active the network, we > > want to mirror a true DVD install. If use virt-install --cdrom will > > solve this issue, we have a bad way to pass ks argument,uncompress the > > ISO,update the syslinux kernel args,then build the ISO again,but this > > will consume big resource,not a good way. Does someone have good > > suggestion for me to pass ks arg to kernel while using virt-install > > --cdrom in python script? > > Sorry for the latest reply. Here is another possibility: > > http://rwmj.wordpress.com/2010/02/01/libguestfs-python-example/#content
Thanks Richard! I believe Liam is using your libguestfs suggestion to
make the kickstart file available to the network-less DVD/CD installing
system. It works rather nicely, thanks for the tip!
The next roadblock was booting the DVD/CD install while providing the
proper boot arguments ("ks=hd:vda:/ks.cfg"). An aside, I wonder if it
makes sense to request that anaconda automatically use a kickstart
if /ks.cfg exists. Until then, we are using dogtail to start
virt-viewer, and provide the correct boot arguments to the installer.
Thanks,
James
signature.asc
Description: This is a digitally signed message part
_______________________________________________ virt mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/virt
