run hostname on remote server
diff --git a/tools/build_uec.sh b/tools/build_uec.sh
index ee78192..cbcdad6 100755
--- a/tools/build_uec.sh
+++ b/tools/build_uec.sh
@@ -171,7 +171,7 @@
 cat > $vm_dir/uec/user-data<<EOF
 #!/bin/bash
 # hostname needs to resolve for rabbit
-sed -i "s/127.0.0.1/127.0.0.1 `hostname`/" /etc/hosts
+sed -i "s/127.0.0.1/127.0.0.1 \`hostname\`/" /etc/hosts
 apt-get update
 apt-get install git sudo -y
 git clone https://github.com/cloudbuilders/devstack.git