<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Jesse Keating wrote:
<blockquote cite="mid1210272164.3807.20.camel@localhost.localdomain"
type="cite">
<pre wrap="">On Thu, 2008-05-08 at 14:35 -0400, Gerry Reno wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I think the problem is that virt-manager is creating a new TEST1.img
file everytime. Because I'm destroying the old instance and deleting
the old image.
</pre>
</blockquote>
<pre wrap=""><!---->
Try creating it in /var/lib/libvirt/images/ which has the correct
selinux context for these images.
</pre>
</blockquote>
<tt>Jesse, that got it. I just installed F9 in an image there. <br>
<br>
Now, how can I set the correct context for where I need to store my
images? I have several vm image directories on different filesystems
so that the vm's are not competing for the same drive all the time. Is
just doing a 'chcon -t virt_image_t ./imagedir' enough to set the
context of the images directories?<br>
<br>
Also, one last problem is that neither network service nor
NetworkManager seem to be able to get a dhcp connection to the lan in
the guest. I selected shared network using br0(eth0) during image
creation but all I get in the guest is network unreachable. Is there
some trick you need to do in the guest?<br>
<br>
Regards,<br>
Gerry<br>
<br>
</tt>
</body>
</html>