aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-02-28 15:29:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-02-28 15:29:55 -0300
commit5dedb4de9e65cd044790d77f642d0c82ba6f1d2a (patch)
tree811ad0795a4125d4ec11aa8aadc9dc369c7f3382
parentf847a348c2eae31d5c13b4af443fe0cef16e465e (diff)
downloadhydra-5dedb4de9e65cd044790d77f642d0c82ba6f1d2a.tar.gz
hydra-5dedb4de9e65cd044790d77f642d0c82ba6f1d2a.tar.bz2
Needed .ssh/config portion
-rw-r--r--README.md1
-rwxr-xr-xshare/hydra/init22
2 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
index a8221ee..12bc4ce 100644
--- a/README.md
+++ b/README.md
@@ -38,3 +38,4 @@ Creating a new network
To create the needed repositories to start a new network, use a similar command:
hydra example init ~/file/example
+ hydra example config domain example.org
diff --git a/share/hydra/init b/share/hydra/init
index 82ce114..69a0ef5 100755
--- a/share/hydra/init
+++ b/share/hydra/init
@@ -70,5 +70,27 @@ else
hydra $HYDRA bootless init
fi
+cat<<-EOF
+Hydra suite relies heavilly in the address in the form of "admin.example.org"
+as the repository server which hosts configuration.
+
+So make sure you have the following in your ~/.ssh/config:
+
+ Host admin.example.org
+ HostName server.example.org
+ Port 22
+
+Replace HostName by the address of the git repository server
+and Port by it's SSH port.
+
+While HostName and Port might change in the future if you move your
+repository for another server, having a fixed alias helps to keep
+your git remotes always updated.
+EOF
+
+# Prompt
+echo "Press any key to continue, Ctrl-C to abort."
+read response
+
# Sync repositories
hydra $HYDRA sync