Merge "Use hostname -s instead of hostnamectl --transient"
This commit is contained in:
commit
d78e6c2822
|
@ -69,7 +69,7 @@ resources:
|
|||
#!/bin/bash
|
||||
set -eux
|
||||
mkdir -p $heat_outputs_path
|
||||
host=$(hostnamectl --transient)
|
||||
host=$(hostname -s)
|
||||
echo -n $host > $heat_outputs_path.hostname
|
||||
cat $heat_outputs_path.hostname
|
||||
outputs:
|
||||
|
|
Loading…
Reference in New Issue