From 657d93302fbdc6c3b971234a04b2ea1902260ec3 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Mon, 9 Dec 2024 03:55:55 -0700 Subject: [PATCH] Update Servers/Virtualization/OpenStack/Ansible Openstack.md --- .../OpenStack/Ansible Openstack.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Servers/Virtualization/OpenStack/Ansible Openstack.md b/Servers/Virtualization/OpenStack/Ansible Openstack.md index 29b439c..b82dba6 100644 --- a/Servers/Virtualization/OpenStack/Ansible Openstack.md +++ b/Servers/Virtualization/OpenStack/Ansible Openstack.md @@ -12,6 +12,9 @@ Run the following script to add the DNS entries. sudo su ``` +!!! note "Run `sudo su` Separately" + When I ran `sudo su` and the echo commands below as one block of commands, it did not correctly write the changes to the `/etc/hosts` file. Just run `sudo su` by itself, then you can copy paste the codeblock below for all of the echo lines for each DNS entry. + ```sh # Add the OpenStack node entries to /etc/hosts echo "192.168.3.43 OPENSTACK-NODE-01.bunny-lab.io OPENSTACK-NODE-01" >> /etc/hosts @@ -26,10 +29,19 @@ cat /etc/hosts !!! example "/etc/hosts Example Contents" When you run `cat /etc/hosts`, you should see output similar to the following: - ```ini title="cat /etc/hosts" + ```ini title="/etc/hosts" 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.3.43 OPENSTACK-NODE-01.bunny-lab.io OPENSTACK-NODE-01 192.168.3.44 OPENSTACK-NODE-02.bunny-lab.io OPENSTACK-NODE-02 192.168.3.45 OPENSTACK-NODE-03.bunny-lab.io OPENSTACK-NODE-03 - ``` \ No newline at end of file + ``` + +## OpenStack Deployment Node +Assuming you deployed a Rocky Linux 9.5 VM with 120GB storage, 8-cores, and 8GB of RAM (these are overkill specs), you should run the following commands. [Original Deployment Documentation](https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/deploymenthost.html) +```sh +sudo su +dnf upgrade +dnf install -y git chrony openssh-server python3-devel sudo +dnf group install -y "Development Tools" +``` \ No newline at end of file