Skip to content

Commit 6e3a4c5

Browse files
committed
run hostname on remote server
1 parent b17c4f3 commit 6e3a4c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build_uec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ EOF
171171
cat > $vm_dir/uec/user-data<<EOF
172172
#!/bin/bash
173173
# hostname needs to resolve for rabbit
174-
sed -i "s/127.0.0.1/127.0.0.1 `hostname`/" /etc/hosts
174+
sed -i "s/127.0.0.1/127.0.0.1 \`hostname\`/" /etc/hosts
175175
apt-get update
176176
apt-get install git sudo -y
177177
git clone https://github.com/cloudbuilders/devstack.git

0 commit comments

Comments
 (0)