Skip to content

Commit 0a20d16

Browse files
committed
Update bootstrap and docs for Rocky Linux 10
1 parent 5b2671a commit 0a20d16

File tree

2 files changed

+8
-28
lines changed

2 files changed

+8
-28
lines changed

README.rst

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Requirements
2020

2121
For this workshop, we require the use of a single server, configured as a
2222
*seed hypervisor*. This server should be a bare metal node or VM running
23-
Ubuntu Jammy or Rocky 9, with the following minimum requirements:
23+
Ubuntu Noble or Rocky Linux 10, with the following minimum requirements:
2424

2525
* 64GB RAM (more is recommended when growing the lab deployment)
2626
* 100GB disk
@@ -59,7 +59,7 @@ There are four parts to this guide:
5959
exercise, and fetching the necessary source code.
6060

6161
*Deploying a Seed* includes all instructions necessary to download and install
62-
the Kayobe prerequisites on a plain Rocky 9 or Ubuntu Jammy cloud image,
62+
the Kayobe prerequisites on a plain Rocky Linux 10 or Ubuntu Noble cloud image,
6363
including provisioning and configuration of a seed VM. Optionally, snapshot the
6464
instance after this step to reduce setup time in the future.
6565

@@ -81,15 +81,10 @@ already logged in (e.g. ``ssh rocky@<ip>``, or ``ssh ubuntu@<ip>``).
8181
8282
# Install git and tmux.
8383
if $(which dnf 2>/dev/null >/dev/null); then
84-
sudo dnf -y install git tmux
84+
sudo dnf -y install git python3 tmux
8585
else
8686
sudo apt update
87-
sudo apt -y install git tmux
88-
fi
89-
90-
# Install Python 3.12 on Rocky Linux 9
91-
if $(which dnf 2>/dev/null >/dev/null); then
92-
sudo dnf -y install python3.12
87+
sudo apt -y install git python3 tmux
9388
fi
9489
9590
# Disable the firewall.
@@ -114,12 +109,7 @@ already logged in (e.g. ``ssh rocky@<ip>``, or ``ssh ubuntu@<ip>``).
114109
[[ -d beokay ]] || git clone https://github.com/stackhpc/beokay.git
115110
116111
# Use Beokay to bootstrap your control host.
117-
if $(which dnf 2>/dev/null >/dev/null); then
118-
PYTHON_ARG=" --python /usr/bin/python3.12"
119-
else
120-
PYTHON_ARG=""
121-
fi
122-
[[ -d deployment ]] || beokay/beokay.py create --base-path ~/deployment --kayobe-repo https://opendev.org/openstack/kayobe.git --kayobe-branch master --kayobe-config-repo https://github.com/stackhpc/a-universe-from-nothing.git --kayobe-config-branch master $PYTHON_ARG
112+
[[ -d deployment ]] || beokay/beokay.py create --base-path ~/deployment --kayobe-repo https://opendev.org/openstack/kayobe.git --kayobe-branch master --kayobe-config-repo https://github.com/stackhpc/a-universe-from-nothing.git --kayobe-config-branch master
123113
124114
# Clone the Tenks repository.
125115
cd ~/deployment/src

a-universe-from-nothing.sh

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,10 @@ set -eu
77

88
# Install git and tmux.
99
if $(which dnf 2>/dev/null >/dev/null); then
10-
sudo dnf -y install git tmux
10+
sudo dnf -y install git python3 tmux
1111
else
1212
sudo apt update
13-
sudo apt -y install git tmux
14-
fi
15-
16-
# Install Python 3.12 on Rocky Linux 9
17-
if $(which dnf 2>/dev/null >/dev/null); then
18-
sudo dnf -y install python3.12
13+
sudo apt -y install git python3 tmux
1914
fi
2015

2116
# Disable the firewall.
@@ -37,12 +32,7 @@ cd
3732
[[ -d beokay ]] || git clone https://github.com/stackhpc/beokay.git
3833

3934
# Use Beokay to bootstrap your control host.
40-
if $(which dnf 2>/dev/null >/dev/null); then
41-
PYTHON_ARG=" --python /usr/bin/python3.12"
42-
else
43-
PYTHON_ARG=""
44-
fi
45-
[[ -d deployment ]] || beokay/beokay.py create --base-path ~/deployment --kayobe-repo https://opendev.org/openstack/kayobe.git --kayobe-branch master --kayobe-config-repo https://github.com/stackhpc/a-universe-from-nothing.git --kayobe-config-branch master $PYTHON_ARG
35+
[[ -d deployment ]] || beokay/beokay.py create --base-path ~/deployment --kayobe-repo https://opendev.org/openstack/kayobe.git --kayobe-branch master --kayobe-config-repo https://github.com/stackhpc/a-universe-from-nothing.git --kayobe-config-branch master
4636

4737
# Clone the Tenks repository.
4838
cd ~/deployment/src

0 commit comments

Comments
 (0)