The subject is not appropriate, can be "change the format of tbox_group".
Thanks, Xijian
On Mon, Nov 09, 2020 at 06:52:59PM +0800, Xiao Shenwei wrote:
hostname before: dc-1g--$HOSTNAME now : dc-1g.$HOSTNAME
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}"
-- 2.23.0