hostname: before: dc-1g--taishan200-2280-2s48p-256g--a1 now : dc-1g.taishan200-2280-2s48p-256g--a1
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com --- providers/docker/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/providers/docker/run.sh b/providers/docker/run.sh index 7234dfa..9edad62 100755 --- a/providers/docker/run.sh +++ b/providers/docker/run.sh @@ -13,7 +13,7 @@ if [[ $hostname =~ ^(.*)-[0-9]+$ ]]; then else tbox_group=$hostname fi -host=${tbox_group%%--*} +host=${tbox_group%.*}
create_yaml_variables "$LKP_SRC/hosts/${host}"