fix add-guest command
authorLuca Filipozzi <lfilipoz@emyr.net>
Tue, 20 Aug 2013 19:21:12 +0000 (19:21 +0000)
committerLuca Filipozzi <lfilipoz@emyr.net>
Tue, 20 Aug 2013 19:21:12 +0000 (19:21 +0000)
input/howto/add-guest.creole

index 46999f7..35ccb83 100644 (file)
@@ -2,21 +2,28 @@
 
 === add to guest keyring ===
 
-at home:
+first, import the guest key into your keyring:
+{{{
+       echo -n "New user's key fingerprint: " &&
+       read fingerprint &&
+       ./add-key "`echo $fingerprint | tr -d ' '`" &&
+}}}
 
+then, add the guest's public gpg key into the guest keyring by
 {{{
-       cd projects/debian/d-a/guest-keyring
+       cd ~/dsa/guest-keyring
 }}}
 
-or whereever you keep the checkout.  Then
+or whereever you keep the checkout and executing:
 {{{
+
        git pull &&
        echo -n "New user's key fingerprint: " &&
        read fingerprint &&
        ./add-key "`echo $fingerprint | tr -d ' '`" &&
        git add debian-guest/add-"`echo $fingerprint | tr -d ' ' | cut -b 25-`" &&
        git add debian-guest/index debian-guest/index.gpg &&
-       git ci &&
+       git commit -a &&
        git push
 }}}