aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-12-17 22:47:00 +0000
committerGerrit Code Review <review@openstack.org>2016-12-17 22:47:00 +0000
commitd78e6c28221b1940ce21532860d8d67833aa5502 (patch)
treeb07cfe481ae0978ad7bb4b7f8c02773b30c89abb
parentb3e5f8e821fe988c938cf1a0215a4accf9d10207 (diff)
parent4e8d5aa2c3bc7e811d2592856549faf809143971 (diff)
Merge "Use hostname -s instead of hostnamectl --transient"
-rw-r--r--deployed-server/deployed-server.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployed-server/deployed-server.yaml b/deployed-server/deployed-server.yaml
index 99fc26bb..73b71588 100644
--- a/deployed-server/deployed-server.yaml
+++ b/deployed-server/deployed-server.yaml
@@ -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: