[fedora-virt] Is it possible to automatically swap CD during Fedora install in KVM?
James Laska
jlaska at redhat.com
Mon Mar 15 17:30:18 UTC 2010
On Mon, 2010-03-15 at 08:55 +0000, Richard W.M. Jones wrote:
> On Fri, Mar 12, 2010 at 01:42:20PM +0800, Li Ming wrote:
> > Great, it works here too. I also find this command also works :):
> > virsh # attach-disk vmname /path/to/new/CD2.iso hdc --type cdrom
>
> For my own interest, how is your script going to detect that anaconda
> is prompting for the next CD?
We have a script called 'minimon' [1] that is initiated during %pre of
an install and monitors different sources of information during an
install. Feedback is sent over XMLRPC to a MinomonServer [2]
We don't yet have the logic in place to detect and act on a disk space,
but I suspect it will involve detecting the following event from
anaconda.log, and making the suggestion noted in a previous mail.
17:11:13,274 INFO anaconda: switching from media #1 to #2 for
Packages/vim-enhanced-7.2.359-1.fc13.x86_64.rpm
Thanks,
James
[1]
http://git.fedorahosted.org/git/autoqa.git?p=autoqa.git;a=blob_plain;f=tests/rats_install/minimon;hb=HEAD
[2]
http://git.fedorahosted.org/git/autoqa.git?p=autoqa.git;a=blob_plain;f=tests/rats_install/minimon.py;hb=HEAD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/virt/attachments/20100315/319d1ca7/attachment.bin
More information about the virt
mailing list