« Modèle:NewVM » : différence entre les versions
import>Fleon Aucun résumé des modifications |
import>Fleon Aucun résumé des modifications |
||
Ligne 36 : | Ligne 36 : | ||
| ssh -p443 user@mx1.infini.fr -L5901:{{{ip_phys}}}:{{{vnc}}} | | ssh -p443 user@mx1.infini.fr -L5901:{{{ip_phys}}}:{{{vnc}}} | ||
| vncviewer localhost:1 | | vncviewer localhost:1 | ||
}} | |||
On termine en ajoutant la machine au fichier '''/etc/rc.local''' pour garantir qu'elle sera relancée au démarrage de {{{machine_phys}}} : | |||
{{RootCmd | hostname={{{machine_phys}}} | |||
| nano /etc/rc.local | |||
}} | |||
{{FileBox|filename=/etc/rc.local | lang=bash | 1= | |||
sleep 2 | |||
virsh create /etc/kvm/machines_virtuelles/{{{vmname}}}.xml | |||
}} | }} | ||