Merge "Use hostname -s instead of hostnamectl --transient"
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user