Revert "Write mirror host location if mirror is in use"

I think we want to go with: https://review.openstack.org/#/c/339261/

This reverts commit 5151d13338.

Change-Id: I2e26ce98d82c18009e237c6ae9042411e43f8959
This commit is contained in:
Paul Belanger 2017-04-07 16:01:51 +00:00
parent 5151d13338
commit 8ef7e61afa
1 changed files with 0 additions and 6 deletions

View File

@ -299,9 +299,3 @@ elif [ "$LSBDISTID" == "Fedora" ]; then
sudo chown root:root /etc/yum.repos.d/*
sudo chmod 0644 /etc/yum.repos.d/*
fi
# Finally write the base mirror host location to /etc/nodepool/mirror_host
# This makes it easy for jobs to check if a mirror is expected at all
# in jobs and where it is located.
echo "$NODEPOOL_MIRROR_HOST" > /tmp/mirror_host
sudo mv /tmp/mirror_host /etc/nodepool/mirror_host