commit | b17c4f30eb6038f58e0186d8621406b68bf54914 | [log] [tgz] |
---|---|---|
author | Jesse Andrews <anotherjesse@gmail.com> | Sun Nov 06 09:25:55 2011 -0800 |
committer | Jesse Andrews <anotherjesse@gmail.com> | Sun Nov 06 09:25:55 2011 -0800 |
tree | 01b98882f109b991fb15b4bcb54a2e4a8883201d | |
parent | d55a5159128a213789d9a7a6db3ed6225206eec3 [diff] [blame] |
make sure hostname resolves
diff --git a/tools/build_uec.sh b/tools/build_uec.sh index ada6596..ee78192 100755 --- a/tools/build_uec.sh +++ b/tools/build_uec.sh
@@ -170,6 +170,8 @@ # 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