dépôts
/
lhc
/
ateliers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2466bfb
)
Documentation : README : rule_user_admin_add .
author
Julien Moutinho
<julm+burette@autogeree.net>
Tue, 19 Feb 2013 22:41:03 +0000
(23:41 +0100)
committer
Julien Moutinho
<julm+burette@autogeree.net>
Tue, 19 Feb 2013 22:41:03 +0000
(23:41 +0100)
README
patch
|
blob
|
history
diff --git
a/README
b/README
index
9f5cc10
..
6fb1321
100644
(file)
--- a/
README
+++ b/
README
@@
-33,11
+33,17
@@
TASK: initialiser la VM
@hosted % vm_hosted user_init
TASK: démarrer la VM
@host % vm_host vm_start
@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
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: pousser des changements locaux sur la VM
@remote % ./vm_remote push hosted
@hosted % vm_hosted git_reset