resolve fed-cloudXX to internal IP

because external IP is not routable
This commit is contained in:
Miroslav Suchý 2015-02-19 13:40:00 +00:00
parent e5d03eb9e9
commit 65d9be09f2
2 changed files with 2 additions and 0 deletions

View file

@ -18,4 +18,5 @@
#
# This is needed for 2fa to work correctly.
#
209.132.181.6 infrastructure infrastructure.fedoraproject.org
209.132.181.32 fas-all.phx2.fedoraproject.org

View file

@ -2,6 +2,7 @@
# Configure another compute node for Fedora Cloud
- authorized_key: user=root key="{{ lookup('file', files + '/fedora-cloud/fed09-ssh-key.pub') }}"
- template: src={{ files }}/fedora-cloud/hosts dest=/etc/hosts owner=root mode=0644
- lineinfile: dest=/etc/sysconfig/network-scripts/ifcfg-eth1 regexp="^ONBOOT=" line="ONBOOT=yes"
notify: