Ajout de 99-init-hapy-master permettant la création d'un disque dur

vierge, l'ajout de l'image ISO EOLE, et l'ajout d'un template pour
installer un module EOLE REF #15946 @4h
This commit is contained in:
Klaas TJEBBES
2016-04-25 15:50:15 +02:00
parent 8563a5d47f
commit 861eb1a3bd
2 changed files with 125 additions and 1 deletions

View File

@ -68,6 +68,15 @@
<variable name='activer_hooks' type='oui/non' description="Utiliser des hook personnalisés" mode='expert'>
<value>non</value>
</variable>
<variable name='hapy_init_master' type='oui/non' description="Pré-paramétrer Hapy">
<value>non</value>
</variable>
<variable name='hapy_init_master_disk_size' type='number' description="Taille en Giga-octets du disque dur vierge">
<value>40</value>
</variable>
<variable name='hapy_init_master_iso_version' type='string' description="Version de l'image ISO EOLE à télécharger">
<value>2.5.2</value>
</variable>
</family>
<family name='Hooks'>
<variable name='hapy_vm_hooks' type='oui/non' description="Hooks sur les VM" mode='expert' mandatory='True'>
@ -205,7 +214,7 @@
<slave>hapy_vm_hook_state</slave>
<slave>hapy_vm_hook_lcm_state</slave>
</group>
<check name="valid_enum" target="hapy_user_hook_on">
<param>['CREATE','REMOVE']</param>
</check>
@ -219,6 +228,11 @@
<slave>hapy_user_hook_command</slave>
<slave>hapy_user_hook_arguments</slave>
</group>
<condition name='hidden_if_in' source='hapy_init_master'>
<param>non</param>
<target type='variable'>hapy_init_master_disk_size</target>
<target type='variable'>hapy_init_master_iso_version</target>
</condition>
</constraints>
<help>
@ -236,5 +250,7 @@
<variable name='hapy_user_hook_on'>Déclancheur du Hook (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
<variable name='hapy_user_hook_command'>Script lancé par le Hook (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
<variable name='hapy_user_hook_arguments'>Arguments passés au script lancé par le Hook d'utilisateur (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
<variable name='hapy_init_master'>Initialiser Hâpy avec quelques fonctions de bases : ISO EOLE, Disque dur vierge et template d'installation d'EoleBase. ATTENTION, provoque le téléchargement de l'ISO EOLE</variable>
<variable name='hapy_init_master_iso_version'>Version de l'ISO EOLE à télécharger lors de l'initialisation</variable>
</help>
</creole>