Merge "Use hostname -s instead of hostnamectl --transient"

This commit is contained in:
Jenkins 2016-12-17 22:47:00 +00:00 committed by Gerrit Code Review
commit d78e6c2822
1 changed files with 1 additions and 1 deletions

View File

@ -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: