[et-mgmt-tools] where's defined the output directory?
Michael DeHaan
mdehaan at redhat.com
Tue Feb 13 21:20:44 UTC 2007
Michael DeHaan wrote:
> Hugh Brock wrote:
>> Michael DeHaan wrote:
>>> John.Sanabria at ece.uprm.edu wrote:
>>>> Hi,
>>>>
>>>> i already built virtual boxes with koan. Question, there exist a
>>>> parameter
>>>> where can specify the directory where virtual image will be located? I
>>>> assume by default is /var/lib/virtimages
>>>>
>>>> thanks,
>>>>
>>>> PD: Sorry, i'm not python programmer, but i did a grep in directory
>>>> /usr/lib/python2.4/site-packages/cobbler for "virtimages" word and
>>>> i can't
>>>> found anything.
>>>>
>>>>
>>>> (`'`'`'`'`)
>>>> | |
>>>> | |
>>>> | |
>>>> -----.. (()---- |
>>>> | || (_ |
>>>> | || | |
>>>> | || | |
>>>> | || /\ ..--
>>>> '--------'' /\ ||-'' \
>>>> / \ \ \// ,, \---.
>>>> .---------. \./ |~| /__\ \ |
>>>> ___|_________|__|""-.___ / || | |
>>>> | | .-----' || | |
>>>> | |CC.-----. | |
>>>> | | '-----' | |-ABG
>>>> | |
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> et-mgmt-tools mailing list
>>>> et-mgmt-tools at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>>>>
>>>
>>> Currently this is hardcoded in koan's source to /var/lib/virtimages.
>>> Adding a /var/lib/virtimages directory symlink in your kickstart's
>>> %post when provisioning the dom0's might be a good idea, if you
>>> wanted to use storage not on /var. Or virtimages could be a mount
>>> point... either way.
>>>
>>> I'll look into adding some options for this.
>>> --Michael
>>
>> If you're referring to Xen filesystem images, they should really go
>> in /var/lib/xen/images to keep selinux from complaining. Does anyone
>> know if there's a consensus directory for virtual filesystem images
>> for for other hypervisors (qemu, kvm)?
>>
>> --Hugh
>>
>
> Trueness, I will make it so. I think I had /var/lib/xen[/|_]images
> at one point also but decided against it given that we thought xen
> itself owned that path.
>
> It would be nice if SELinux just cared about, say, context instead of
> paths in this case :)
Actually you can mount with different SELinux context's, so that's my fault.
I'll probably just add a flag for koan to do an override on the save
location.
>
> --Michael
>
>
>
>
More information about the et-mgmt-tools
mailing list