« Modèle:NewVM » : différence entre les versions
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 }} | |||
}} | }} | ||