From 5813c49d8983763f8bd7c455b2f1600b838312d8 Mon Sep 17 00:00:00 2001 From: Pasha Date: Mon, 5 Jun 2023 19:01:38 +0000 Subject: update for installing on physical hardware --- README | 60 ++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 38 insertions(+), 22 deletions(-) (limited to 'README') diff --git a/README b/README index ac69110..900b476 100644 --- a/README +++ b/README @@ -14,37 +14,38 @@ along with this program. If not, see . -Debian OpenStack Installer --------------------------- -requirements +Debian OpenStack Installer for home lab +--------------------------------------- -1. Install or update to Debian 12 (Bookworm) +1. Install Debian 12 (Bookworm) on a physical machine. -2. current configuration uses agent networking (bridge). - -Therefore, you need two network interfaces with two different network series. - -If you are using VM, then you may configure enp1s0 as "bridge network" with your main network. -and enp7s0 as NAT interface. Add two interfaces in your virtual machine. +We will use same network interface for host and virtual machines. +/etc/network/interfaces +------------------------------- +... +allow-hotplug eno1 +iface eno1 inet static + address 192.168.0.155 + broadcast 192.168.0.255 + netmask 255.255.255.0 + gateway 192.168.0.1 + dns-nameservers 192.168.0.1 +-------------------------------- external router | | - br0 virbr0 - | | - | | (example qemu has two interfaces) - -------|------> enp1s0 - static IP: 192.168.0.155 - | - | - -------> enp7s0 - static IP/DHCP: 192.168.122.10 + eno1 + | + -------> static IP: 192.168.0.155 -3. edit openstack_setup.sh and set the following setting: +2. edit "openstack_setup.sh" and set the following setting: OPENSTACK_HOST_IP="192.168.0.155" -EXTERNAL_BRIDGE_INTERFACE="enp7s0" +EXTERNAL_BRIDGE_INTERFACE="eno1" # chmod +x openstack_setup.sh # ./openstack_setup.sh &> output.txt @@ -52,9 +53,24 @@ EXTERNAL_BRIDGE_INTERFACE="enp7s0" check output from another shell # tail -f output.txt - restart and start exploring openstack on Debian. -You may check "next_step" file. -https://192.168.0.155/horizon/ +3. Check "next_steps" for networking and launching your first instance. + + +4. You can access dashboard: https://192.168.0.155/horizon/ + + +after you launch your first instance + +external +router + | + | + eno1 + | + -------> bridge-xxx - static IP: 192.168.0.155 + | + | + ------- virtual machines ... -- cgit v1.2.1