Signed-off-by: Zhang Dewan 513619464@qq.com --- jobs/reset-tbox.yaml | 2 +- tests/reset-tbox | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/jobs/reset-tbox.yaml b/jobs/reset-tbox.yaml index 216a3852..52ea76b7 100644 --- a/jobs/reset-tbox.yaml +++ b/jobs/reset-tbox.yaml @@ -7,4 +7,4 @@ docker_image: reset-tbox:latest queue: reset-tbox
reset-tbox: - host_name: +host_name: diff --git a/tests/reset-tbox b/tests/reset-tbox index 36aa37d5..4d2c191e 100755 --- a/tests/reset-tbox +++ b/tests/reset-tbox @@ -1,5 +1,5 @@ #!/bin/bash -# - host_nameset +# host_name
account_file=/etc/lab/.account.info hosts_file=/etc/lab/hosts_file
--- a/jobs/reset-tbox.yaml +++ b/jobs/reset-tbox.yaml @@ -7,4 +7,4 @@ docker_image: reset-tbox:latest queue: reset-tbox
reset-tbox:
host_name:
+host_name:
host_name => machine?
Thanks, Fengguang
diff --git a/tests/reset-tbox b/tests/reset-tbox index 36aa37d5..4d2c191e 100755 --- a/tests/reset-tbox +++ b/tests/reset-tbox @@ -1,5 +1,5 @@ #!/bin/bash -# - host_nameset +# host_name
account_file=/etc/lab/.account.info hosts_file=/etc/lab/hosts_file -- 2.23.0
On Thu, Jan 21, 2021 at 12:31:33PM +0800, Wu Fengguang wrote:
--- a/jobs/reset-tbox.yaml +++ b/jobs/reset-tbox.yaml @@ -7,4 +7,4 @@ docker_image: reset-tbox:latest queue: reset-tbox
reset-tbox:
host_name:
+host_name:
host_name => machine?
maybe 'hostname' with out underline is better, what I thought was host_name is same as the lstbox command's output:
dewan@z9 ~% lstbox a7 host_name: taishan200-2280-2s64p-256g--a7 host_owner: pub-tbox Active: (running)
so reboot the machine testbox, i think the host_name is better.
if consider about vm and docker, how to unify the interface ? I don't have idea..
Thanks, Dewan
Thanks, Fengguang
diff --git a/tests/reset-tbox b/tests/reset-tbox index 36aa37d5..4d2c191e 100755 --- a/tests/reset-tbox +++ b/tests/reset-tbox @@ -1,5 +1,5 @@ #!/bin/bash -# - host_nameset +# host_name
account_file=/etc/lab/.account.info hosts_file=/etc/lab/hosts_file -- 2.23.0