From fd2e763758a0abe4035688201bbb98a265e0b72a Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 27 Apr 2016 15:57:25 +1000 Subject: [PATCH] we really wanted a global replace here... --- launcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher b/launcher index b2a090a..69a33f0 100755 --- a/launcher +++ b/launcher @@ -798,7 +798,7 @@ run_start() { # we got to normalize so we only have allowed strings, this is more comprehensive but lets see how bash does first # hostname=`$docker_path run $user_args --rm $image ruby -e 'print ARGV[0].gsub(/[^a-zA-Z-]/, "-")' $hostname` # docker added more hostname rules - hostname=${hostname/_/-} + hostname=${hostname//_/-} set -x $docker_path run $user_args $links $attach_on_run $restart_policy "${env[@]}" -h "$hostname" \ -- 2.25.1