Thanks! It seems to be the perfect solution. I'll take a look into
that and try to update both the mkswap scripts and the
contextualization packages.

On Wed, Mar 27, 2013 at 11:43 AM, Michael Kutzner
<[email protected]> wrote:
> Hi,
>
>> There is no automounting of swap images, not even with context
>> packages. Anyway, I think it is a good feature to add. I'll check the
>> ways we could do that.
>
> perhaps is an idea to add -L SWAP to the mkswap command when creating
> the swap images and to put an LABEL=SWAP into the fstab to add the swap
> space (or if doing it in  the scripts, to find the correct device).
>
> Thats how we are doing it and this way we are independant from device
> ordering.
>
> Best, Michael
>
>>
>> Thanks for taking your time to update the metadata server.
>>
>> On Wed, Mar 27, 2013 at 2:01 AM, Ricardo Duarte <[email protected]> wrote:
>>> Hi there,
>>>
>>> How are you auto-mounting the swap inside your instances?
>>> As far as I can see, it does not work out of the box on Ubuntu. Maybe I'm
>>> missing something.
>>>
>>> (As a related issue, I'm planning to update the metadata server to support
>>> the block-device-mapping attribute; it will enable cloud-init to deal with
>>> swap and ephemeral disks automatically)
>>>
>>> Regards,
>>> Ricardo
>>>
>>> _______________________________________________
>>> Users mailing list
>>> [email protected]
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>
>>
>>
>> --
>> Javier Fontán Muiños
>> Project Engineer
>> OpenNebula - The Open Source Toolkit for Data Center Virtualization
>> www.OpenNebula.org | [email protected] | @OpenNebula
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | [email protected] | @OpenNebula
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to