aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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