make sure hostname resolves
This commit is contained in:
parent
d55a515912
commit
b17c4f30eb
1 changed files with 2 additions and 0 deletions
|
@ -170,6 +170,8 @@ EOF
|
|||
# set metadata
|
||||
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
|
||||
apt-get update
|
||||
apt-get install git sudo -y
|
||||
git clone https://github.com/cloudbuilders/devstack.git
|
||||
|
|
Loading…
Reference in a new issue