X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=README;h=6fb1321c452efb874ed28acf9b8b8b39f2b3c376;hb=62a0413f0d5faeadb4bbcee143791dbbeaeea2bf;hp=5e9fa04e0b8ea471539e26dadf59dc3d7938b994;hpb=c6358beea0be57737b6a6980657b7b5744e51774;p=lhc%2Fateliers.git diff --git a/README b/README index 5e9fa04..6fb1321 100644 --- a/README +++ b/README @@ -24,7 +24,7 @@ TASK: obtenir une installation chrootable @host % ~/tool/ateliers/vm_host disk_umount TASK: obtenir une installation démarable @host % ~/tool/ateliers/vm_host chroot - @host % ~/tool/ateliersexport TRACE=1 LANG=C LC_CTYPE=C + @host % export TRACE=1 LANG=C LC_CTYPE=C @host % /root/tool/vm/vm_hosted init @host % exit TASK: initialiser la VM @@ -33,8 +33,19 @@ TASK: initialiser la VM @hosted % vm_hosted user_init TASK: démarrer la VM @host % vm_host vm_start -TASK: ajouter un administrateur - @hosted % vm_hosted user_admin_add $user # NOTE: remplacer $user +TASK: ajouter un-e administrateurice $user + @remote % cp .../id_rsa var/pub/ssh/$user.key + @remote % gpg --armor --export --export-options export-clean >var/pub/openpgp/$user.key + @remote % git add var/pub/{openpgp,ssh}/$user.key + @remote % git commit -a -m "Ajout : admin : $user ." + @remote % ./vm_remote git_push + @hosted % vm_hosted git_reset + @hosted % vm_hosted user_admin_add $user TASK: démarrer la VM @host % vm_host vm_start - @remote % vm_remote disk_send_key + @remote % ./vm_remote key_disk_send +TASK: pousser des changements locaux sur la VM + @remote % ./vm_remote push hosted + @hosted % vm_hosted git_reset +TASK: se connecter interactivement en root à la VM avec une connection SSH persistante + @remote % ./vm_remote mosh -l root