[[ $tbox_group ]] || tbox_group=vm-2p8g -export hostname=$tbox_group--$USER-$$ +export hostname=$tbox_group.$USER-$$
How about keeping the original hostname for now?
you means "." only used by queue field. queue: vm-2p8g.xxx
now hostname only used by find queues by host2queues
so, each one is ok.
for vm on HW: vm-2p8g--taishan200-2280-2s48p-256g--a11 vm-2p8g.taishan200-2280-2s48p-256g--a11 (this way feel more intuitive to show it's tbox_group and which machine)
Thanks, Shenwei
- host=${tbox_group%%--*}
- host=${tbox_group%.*}
Thanks, Fengguang