]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
openstack: cloudlab support (part 5)
authorLoic Dachary <ldachary@redhat.com>
Thu, 7 Apr 2016 15:45:17 +0000 (17:45 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 14 Oct 2019 14:47:01 +0000 (16:47 +0200)
There is no need for host-record=ctl etc. the profile has been modified
and OS_AUTH_URL is a fqdn.

Signed-off-by: Loic Dachary <loic@dachary.org>
teuthology/openstack/setup-openstack.sh

index b467c361a8f0a3270b7dca234f24e3ca770dffe2..f26d27da44ceaa7a6fa4e0932b9884e37d35ce9e 100755 (executable)
@@ -412,9 +412,6 @@ function define_dnsmasq() {
         done | sudo tee $host_records > /tmp/dnsmasq
         head -2 /tmp/dnsmasq
         echo 'etc.'
-        if test "$OS_CLOUDLAB_CTL_IP" ; then
-            echo "host-record=ctl,$OS_CLOUDLAB_CTL_IP" | sudo tee -a $host_records
-        fi
         # restart is not always picking up changes
         sudo /etc/init.d/dnsmasq stop || true
         sudo /etc/init.d/dnsmasq start
@@ -479,9 +476,6 @@ function install_packages() {
 CAT=${CAT:-cat}
 
 function verify_openstack() {
-    if test "$OS_CLOUDLAB_CTL_IP" ; then
-        echo $OS_CLOUDLAB_CTL_IP ctl | sudo tee -a /etc/hosts >&2
-    fi
     if ! openstack server list > /dev/null ; then
         echo ERROR: the credentials from ~/openrc.sh are not working >&2
         return 1