From: Silvio Rhatto Date: Fri, 28 Feb 2014 18:29:55 +0000 (-0300) Subject: Needed .ssh/config portion X-Git-Tag: 0.2.1~5 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5dedb4de9e65cd044790d77f642d0c82ba6f1d2a;p=hydra.git Needed .ssh/config portion --- 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