Command line setup of Red Hat 6 virt-manager to recognize image.
Hi all,
I am getting my feet wet here with virtualization. I have fumbled my way through and finally got an image that works and I'm OK with. Now, I want to copy this image to another physical machine and put the image in /var/lib/libvirt/images. Is there a way via command line, perhaps via virsh, that I can tell virt-manager on this other physical machine about this image without having to use the GUI and do a New -> Import existing disk image? I would like to have the user login, execute sudo virt-manager and the image would be ready and waiting for the user to click Run. Thanks to all for any info you might have. |
|
Man Page? Please!!! Why would I read that long and complicated thing when someone else might have already figured it out? :)
LUCKILY!!! man virt-install has some good examples to get you started. virsh wasn't the way to go for me at this time. Examples are our friends. virt-install --name My-New-VM.img --ram 1024 --vcpus=2 --disk /var/lib/libvirt/images/My-Existing-VM.img --import --prompt This almost gave me what I wanted. The screen size was smaller than the "Existing" image, but I see some graphics options in the ...uhhh ... the ... uhhh ... man page. :) |
Quote:
We are here to HELP, not to give you finished solutions. |
You did notice the smilie face right? I was trying to jest with you. Just wanted make sure all knew that. The information at this site and from all you is very valuable and often a single word or hint from someone opens the door.
Thanks also for the link to useful linux bookmarks. :) |
All times are GMT -5. The time now is 01:48 AM. |