Sorry I didn't notice this before now.   There are two answers:

   1)  I won't add this in general.

   2)  But you *can* achieve the same effect with a local hook script.

  The basic idea would be for you to add two extra flags to your
 xen-create-image run:

    --noswap
      (To disable the cretion of a swapfile.)
    --role=lvm-swap
      (To invoke a role-script named "lvm-swap" after creation.)

  The role-script specified will be loaded, from /etc/xen-tools/role.d/
 and it can do two things :

    1.  Update the newly generated image to have a swap file mounted
       in /etc/fstab

    2.  Create an LVM volume on the host formatted for swap.

  This should do the whole job for you :)

  If you do come up with a script and wish to have it included in the
 next upstream release do let me know.

Steve
-- 
# The Debian Security Audit Project.
http://www.debian.org/security/audit



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to