Editing Best practices for development of EZ templates
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Virtuozzo}} | {{Virtuozzo}} | ||
− | |||
− | |||
− | |||
This article lists recommendations for those willing to create EZ templates for Virtuozzo. Please consider them to be able to create EZ templates that can be included in the Virtuozzo distribution. Each recommendation has originated in the development and maintenance of Virtuozzo container templates. As the [https://src.openvz.org/projects/OVZT list of supported EZ templates] is evergrowing, before submitting your work make sure the same template has not been already submitted by someone else. | This article lists recommendations for those willing to create EZ templates for Virtuozzo. Please consider them to be able to create EZ templates that can be included in the Virtuozzo distribution. Each recommendation has originated in the development and maintenance of Virtuozzo container templates. As the [https://src.openvz.org/projects/OVZT list of supported EZ templates] is evergrowing, before submitting your work make sure the same template has not been already submitted by someone else. | ||
− | |||
* Make sure your EZ template does not share RPMs with other EZ templates. For example, if you submit a mysql application template, make sure that the mysql package is used only by it and not any other application template, e.g., wordpress. | * Make sure your EZ template does not share RPMs with other EZ templates. For example, if you submit a mysql application template, make sure that the mysql package is used only by it and not any other application template, e.g., wordpress. | ||
* Minimize the number of RPMs in packages files. For example, do not list every RPM implied by dependencies. | * Minimize the number of RPMs in packages files. For example, do not list every RPM implied by dependencies. | ||
Line 14: | Line 10: | ||
* Make your EZ templates as universal as possible. Avoid specific modifications like localization, time zones, etc. | * Make your EZ templates as universal as possible. Avoid specific modifications like localization, time zones, etc. | ||
* Avoid using complex routines in your scripts to make them easier to maintain. | * Avoid using complex routines in your scripts to make them easier to maintain. | ||
− | |||
[[Category:Development]] | [[Category:Development]] | ||
[[Category:Contributions]] | [[Category:Contributions]] | ||
− |