URI: 
       Get hostname with uname - drist - a remote deployment tool
  HTML git clone git://bitreich.org/drist/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/drist/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
   DIR LICENSE
       ---
   DIR commit e94124436c123815f7ff2ce8117fd7f7392b8df7
   DIR parent 77f287e8d9728d236de855be1ae0f12e99f547a8
  HTML Author: Solene Rapenne <solene@perso.pw>
       Date:   Tue, 17 Jul 2018 14:21:33 +0200
       
       Get hostname with uname
       
       Diffstat:
         M drist                               |       2 +-
         M drist.1                             |      10 +++++-----
       
       2 files changed, 6 insertions(+), 6 deletions(-)
       ---
   DIR diff --git a/drist b/drist
       @@ -5,7 +5,7 @@ then
                echo "You should pass a server as a parameter"
                exit 1
        else
       -        HOSTNAME=$(ssh "$1" hostname -s)
       +        HOSTNAME=$(ssh "$1" "uname -n")
                if [ "$?" -ne 0 ]
                then
                        echo "Error while ssh ${1}"
   DIR diff --git a/drist.1 b/drist.1
       @@ -15,7 +15,7 @@ is a tool to configure remote servers using
        and
        .Xr rsync 1 .
        .Nm
       -has been designed to be simple, so it may not offers features you want.
       +has been designed to be simple, so it may not offer features you want.
        
        When you run
        .Nm
       @@ -32,7 +32,7 @@ The second directory is
        with
        .Ar servername
        being the result of the command
       -.Ql hostname -s
       +.Ql uname -n
        on the remote server. The content of this folder will be copied on the remote server
        .Ar server
        from the root filesystem /. This folder is useful if you need to add some files only
       @@ -45,16 +45,16 @@ will look at two files in the current working directory.
        The first file is
        .Ar script
        and will be copied on the remote server and then executed and deleted after execution
       -(shall the script success or fail).
       +(shall the script succeed or fail).
        
        The second file is
        .Ar script-hostname
        with
        .Ar servername
        being the result of the command
       -.Ql hostname -s
       +.Ql uname -n
        , if it exists, it will be copied on the remote server and then executed and deleted after execution
       -(shall the script success or fail). This is useful if you need to run commands on a particular
       +(shall the script succeed or fail). This is useful if you need to run commands on a particular
        servers.
        
        I recommend to write small "modules" installing required packages for a task and providing