You are not logged in.

#1 2012-02-05 20:28:32

kurokuon
Member
Registered: 2011-12-11
Posts: 2

[SOLVED] get prompt back after installing guest with virt-install

Hi, I'm writing a script to install multiple virtual OS, the command below works the way I wanted it too, but I can't seem to get the prompt back to execute the next commands since the installed OS is running.  Is there a virt-install option that can shutdown the guest OS after it finishes installing?  Thanks!

virt-install --connect qemu:///system --name guest01 --disk path=/var/lib/libvirt/images/guest01.img,size=8 --ram 512 --location http://centos6/ --extra-args "ks=http://guest01-ks.cfg" --network network=default

Last edited by kurokuon (2012-02-05 22:15:03)

Offline

#2 2012-02-05 22:12:24

kurokuon
Member
Registered: 2011-12-11
Posts: 2

Re: [SOLVED] get prompt back after installing guest with virt-install

Nevermind.  I can use the --noreboot option.

Offline

Board footer

Powered by FluxBB