X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=README;h=30869de85e183631aa6ae77a5c420adbfb104c6a;hp=9f5cc10c0a89811570f14077755fb44602e18043;hb=5b3f6649997abf4786ec2b1292abf712d4358567;hpb=5e9744346618eafc6c69581de35be873fe25d2c3 diff --git a/README b/README index 9f5cc10..30869de 100644 --- a/README +++ b/README @@ -28,18 +28,32 @@ TASK: obtenir une installation démarable @host % /root/tool/vm/vm_hosted init @host % exit TASK: initialiser la VM - @host % ~/tool/ateliers/vm_host vm_init + @host % ~/tool/ateliers/vm_host vm_configure @host % ~/tool/ateliers/vm_host vm_start - @hosted % vm_hosted user_init + @hosted % vm_hosted user_configure 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_key_send + @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 +TASK: générer l'autorité de certification TLS + % export TRACE=all + % random=/dev/urandom lib/tool/openssl/ca/make + % lib/tool/openssl/ca/check +TASK: générer un certificat TLS pour un service $service + % export TRACE=all + % random=/dev/urandom gpg_options="--recipient $USER@" lib/tool/openssl/service/make $service + % lib/tool/openssl/service/check $service