« Modèle:NewVM » : différence entre les versions

De wiki.infini
import>Fleon
Aucun résumé des modifications
m (33 révisions importées)
 
(13 versions intermédiaires par un autre utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>
{{InfoBox stack
{{InfoBox stack
|{{InfoBox head| {{{vmname}}} @ {{{machine_phys}}} }}
|{{InfoBox head| [http://munin.infini.fr/vm_{{{machine_phys}}}/{{{vmname}}}.infini.mdl/index.html] {{{vmname}}} @ {{{machine_phys}}} }}
|{{InfoBox line| MEMORY : {{{memory}}} }}
|{{InfoBox line| MEMORY : {{{memory}}} }}
|{{InfoBox line| CPU : {{{cpu}}} }}
|{{InfoBox line| CPU : {{{cpu}}} }}
|{{InfoBox line| LVM : /dev/vg0/{{{vmname}}}_sys }}
|{{InfoBox line| LVM : /dev/vg0/{{{vmname}}}_sys / {{{sys_size|}}} }}  
|{{InfoBox line| LVM : /dev/vg0/{{{vmname}}}_swap }}
|{{InfoBox line| LVM : /dev/vg0/{{{vmname}}}_swap / {{{swap_size|}}} }}
|{{#if:{{{data_size|}}} |{{InfoBox line| LVM : /dev/vg0/{{{vmname}}}_swap }} }}
|{{InfoBox line| LVM : {{#if:{{{data_size|}}} | /dev/vg0/{{{vmname}}}_data / {{{data_size|}}} | nan}} }}
|{{InfoBox line| MAC : {{{mac}}} }}
|{{InfoBox line| MAC : {{{mac}}} }}
|{{InfoBox line| NET : {{{iface}}} }}
|{{InfoBox line| NET : {{{iface}}} / {{{ip_vm|}}} }}
|{{InfoBox line| VNC : {{{vnc}}} }}
|{{InfoBox line| VNC : {{{vnc}}} }}
}}
}}
Ligne 40 : Ligne 40 :
}}
}}


{{#if:{{{data_size|}}}| |<br/><br/>}}
On termine en ajoutant la machine au fichier '''/etc/rc.local''' pour garantir qu'elle sera relancée au démarrage de {{{machine_phys}}} :
On termine en ajoutant la machine au fichier '''/etc/rc.local''' pour garantir qu'elle sera relancée au démarrage de {{{machine_phys}}} :


Ligne 48 : Ligne 49 :


* {{{install_summary}}}
* {{{install_summary}}}
* {{{signature}}}
</includeonly><noinclude>[[Category:Template]]</noinclude>

Version actuelle datée du 12 février 2020 à 19:52