X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=README;h=ca4ce7474c8c704e819b3e9c190acd3c3d6f94da;hp=be0145ebbe7b993e4231ee25d3ed90639ad253f1;hb=82a43a9c95892ecfa8bad1a72b490ad0bf60cd3b;hpb=3ad6118386977e346d81042e924e5db9c5f15b7d diff --git a/README b/README index be0145e..ca4ce74 100644 --- a/README +++ b/README @@ -6,33 +6,34 @@ ATTENTION: ne pas hésiter donc à bien relire les règles _avant_ de les exécuter. NOTE: - à priori les règles sont pensées pour être exécutées - plusieurs fois selon les erreurs que l'on rencontre + à priori les commandes sont idempotentes, + i.e. pensées pour être exécutées plusieurs fois + selon les erreurs que l'on rencontre ou les modifications que l'on y apporte. TASK: obtenir une installation chrootable @host % export TRACE=1 - @host % ~/tool/ateliers/vm_host disk_mount - @host % ~/tool/ateliers/vm_host disk_format - @host % ~/tool/ateliers/vm_host part_lvm_format - @host % ~/tool/ateliers/vm_host part_root_format - @host % ~/tool/ateliers/vm_host part_boot_format - @host % ~/tool/ateliers/vm_host part_swap_format - @host % ~/tool/ateliers/vm_host part_var_format - @host % ~/tool/ateliers/vm_host part_home_format - @host % ~/tool/ateliers/vm_host debian_install - @host % ~/tool/ateliers/vm_host disk_umount + @host % ~/tool/ateliers/host/disk-mount + @host % ~/tool/ateliers/host/disk-format + @host % ~/tool/ateliers/host/part-lvm-format + @host % ~/tool/ateliers/host/part-root-format + @host % ~/tool/ateliers/host/part-boot-format + @host % ~/tool/ateliers/host/part-swap-format + @host % ~/tool/ateliers/host/part-var-format + @host % ~/tool/ateliers/host/part-home-format + @host % ~/tool/ateliers/host/debootstrap + @host % ~/tool/ateliers/host/disk-umount TASK: obtenir une installation démarable - @host % ~/tool/ateliers/vm_host chroot + @host % ~/tool/ateliers/host/chroot @host % export TRACE=1 LANG=C LC_CTYPE=C - @host % /root/tool/vm/local/init # TODO: revoir ça + @host % /root/tool/ateliers/local/init # TODO: revoir ça @host % exit TASK: initialiser la VM - @host % ~/tool/ateliers/vm_host vm_configure - @host % ~/tool/ateliers/vm_host vm_start + @host % ~/tool/ateliers/xen-vm-configure + @host % ~/tool/ateliers/xen-vm-start @local % local/user-configure TASK: démarrer la VM - @host % vm_host vm_start + @host % host/xen-vm-start 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 @@ -42,11 +43,10 @@ TASK: ajouter un-e administrateurice $user @local % local/git-reset @local % local/user-admin-add $user TASK: démarrer la VM - @host % vm_host vm_start + @host % host/xen-vm-start @remote % remote/luks-key-disk-send TASK: pousser des changements locaux sur la VM - @remote % remote/git-push - @local % local/git-reset + @remote % remote/git-push -f local TASK: se connecter interactivement en root à la VM avec une connection SSH persistante @remote % remote/mosh -l root TASK: générer une autorité de certification et des sous-certificats TLS