diff --git a/Servers/Virtualization/OpenStack/Ansible Openstack.md b/Servers/Virtualization/OpenStack/Ansible Openstack.md index f169b21..15e4c98 100644 --- a/Servers/Virtualization/OpenStack/Ansible Openstack.md +++ b/Servers/Virtualization/OpenStack/Ansible Openstack.md @@ -1,4 +1,16 @@ !!! warning "Document Under Construction" This document is very unfinished and should **NOT** be followed by anyone for deployment at this time. -**Purpose**: Deploying OpenStack via Ansible. \ No newline at end of file +**Purpose**: Deploying OpenStack via Ansible. + +## Configure Hard-Coded DNS for Cluster Nodes +We want to ensure everything works even if the nodes have no internet access. By hardcoding the FQDNs, this protects us against several possible stupid situations. + +Run the following script to add the DNS entries. +```sh +# Add the OpenStack node entries to /etc/hosts +sudo su +echo "192.168.3.43 OPENSTACK-NODE-01.bunny-lab.io OPENSTACK-NODE-01" | sudo tee -a /etc/hosts +echo "192.168.3.44 OPENSTACK-NODE-02.bunny-lab.io OPENSTACK-NODE-02" | sudo tee -a /etc/hosts +echo "192.168.3.45 OPENSTACK-NODE-03.bunny-lab.io OPENSTACK-NODE-03" | sudo tee -a /etc/hosts +``` \ No newline at end of file