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
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora