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

De wiki.infini
import>Fleon
Aucun résumé des modifications
import>Fleon
Aucun résumé des modifications
Ligne 6 : Ligne 6 :
|{{InfoBox line| LVM : /dev/vg0/{{{vmname}}}_sys }}
|{{InfoBox line| LVM : /dev/vg0/{{{vmname}}}_sys }}
|{{InfoBox line| LVM : /dev/vg0/{{{vmname}}}_swap }}
|{{InfoBox line| LVM : /dev/vg0/{{{vmname}}}_swap }}
{{#if:
|{{InfoBox line| MAC : {{{mac}}} }}
|{{InfoBox line| MAC : {{{mac}}} }}
|{{InfoBox line| NET : {{{iface}}} }}
|{{InfoBox line| NET : {{{iface}}} }}
Ligne 23 : Ligne 24 :
  | lvcreate -L {{{sys_size}}} -n {{{vmname}}}_sys vg0
  | lvcreate -L {{{sys_size}}} -n {{{vmname}}}_sys vg0
  | lvcreate -L {{{swap_size}}} -n {{{vmname}}}_swap vg0
  | lvcreate -L {{{swap_size}}} -n {{{vmname}}}_swap vg0
| {{#if:{{{data_size|}}} | lvcreate -L {{{data_size}}} -n {{{vmname}}}_data vg0 }}
}}
}}



Version du 26 février 2015 à 10:52