X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fdocker-connect;a=blobdiff_plain;f=docker-connect;h=93c5bac3ada0f9f5925a4993d785abeb53e75363;hp=ca2f3f24b427308abebdeb105f7e9094c1f700f2;hb=2016d571fa22fc4660d9227cb94d799b2946ff7e;hpb=ac58a0072ec46c39c15b04feb6453baa2a2562ca diff --git a/docker-connect b/docker-connect index ca2f3f2..93c5bac 100755 --- a/docker-connect +++ b/docker-connect @@ -236,8 +236,6 @@ if echo "$hostname" |grep -q '@' then user=$(echo "$hostname" |cut -d@ -f1) hostname=$(echo "$hostname" |cut -d@ -f2) -else - user=$(cat ansible.cfg 2>/dev/null |sed -ne 's/^remote_user[[:space:]]*=[[:space:]]*//p') fi ssh_connect="$hostname"