[xen-tools-discuss] Roles to be executed after config file is written?

Pieter Barrezeele macbar at fab4.be
Fri Aug 26 15:02:32 CEST 2011


Hi,

In attachment you'll find some patches that apply to the 4.2 version of Xen-tools. These patches are either fixing stuff that (IMO) should be fixed, or adding extra functionality:

- image-dev.patch: when choosing image-dev as destination device, xen-tools should not verify the availability of lvm tools

- finalrole.patch: As the code is now: roles are implemented before the creation of the Xen config file. I needed a script to be run using that config file (git repo stuff). There might be a requirement having roles implemented before the xen config file. I therefore added a --finalrole config setting that executes after the Xen config file creation.

- dontformat.patch: I tend to create my filesystems manually. I therefore implemented a --dontformat switch which does just what it says.

- extension.patch: currently, xt-create-xen-config assumes a default value for the 'extension' configuration setting, which is not unsettable: one cannot have an empty extension. I therefore emptied the default value in xt-create-xen-config. Wouldn't it be better to have the defaults in a provided config file instead of the code?

I hope you can use (and incorporate) these patches. :-)

Kind regards,

Pieter.




Pieter Barrezeele
Zaakvoerder
	• Floo IT BVBA  
  Ravenshoek 18 bus 1
  B-3020 Herent
  Belgium	• e-mail: pieter at floo-it.be
• office: http://www.floo-it.be/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20110826/b3af48ff/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dontformat.patch
Type: application/octet-stream
Size: 1432 bytes
Desc: not available
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20110826/b3af48ff/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20110826/b3af48ff/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extension.patch
Type: application/octet-stream
Size: 330 bytes
Desc: not available
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20110826/b3af48ff/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20110826/b3af48ff/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: finalrole.patch
Type: application/octet-stream
Size: 1737 bytes
Desc: not available
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20110826/b3af48ff/attachment-0002.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20110826/b3af48ff/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image-dev.patch
Type: application/octet-stream
Size: 300 bytes
Desc: not available
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20110826/b3af48ff/attachment-0003.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20110826/b3af48ff/attachment-0003.htm>


More information about the xen-tools-discuss mailing list