templatise le nombre de connexion à la base de données + gestion du service opennebula-scheduler
This commit is contained in:
parent
ab1bebce10
commit
4bc36ce4ee
|
@ -9,6 +9,7 @@
|
|||
<file filelist='onesinglenode' name='/etc/one/auth/ldap_auth.conf'/>
|
||||
|
||||
<service>opennebula</service>
|
||||
<service>opennebula-scheduler</service>
|
||||
|
||||
<service_access service='one-ssh'>
|
||||
<tcpwrapper>sshd</tcpwrapper>
|
||||
|
@ -52,6 +53,7 @@
|
|||
<value>one</value>
|
||||
</variable>
|
||||
<variable name="one_database_pass" description="Mot de passe pour se connecter à la base de données" type="password" mandatory="True"/>
|
||||
<variable name="one_database_connections" description="Nombre de connection à la base de données" type="number" mandatory="True" mode="expert"/><value>50</value></variable>
|
||||
|
||||
<!-- VNETS -->
|
||||
<variable name='vnet_pilote' type='string' description='Pilote utilisé pour le réseau virtuel' hidden='True' />
|
||||
|
|
|
@ -94,7 +94,7 @@ DB = [ BACKEND = "mysql",
|
|||
USER = "%%one_database_user",
|
||||
PASSWD = "%%one_database_pass",
|
||||
DB_NAME = "%%one_database_name",
|
||||
CONNECTIONS = 50 ]
|
||||
CONNECTIONS = %%one_database_connections ]
|
||||
%end if
|
||||
|
||||
VNC_PORTS = [
|
||||
|
|
Loading…
Reference in New Issue