Foreman on Ubuntu 20.04: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
From [https://theforeman.org/manuals/3.5/quickstart_guide.html https://theforeman.org/manuals/3.5/quickstart_guide.html]
From [https://theforeman.org/manuals/3.5/quickstart_guide.html https://theforeman.org/manuals/3.5/quickstart_guide.html]
Install Ubuntu
Update hostanmes
<pre>
sudo hostnamectl set-hostname pm.lab.bpopp.net</pre>
Replace 127.0.1.1 with:
<pre>192.168.2.23  pm.lab.bpopp.net</pre>


Foreman Options
Foreman Options

Revision as of 19:26, 5 January 2024

From https://theforeman.org/manuals/3.5/quickstart_guide.html

Install Ubuntu

Update hostanmes

sudo hostnamectl set-hostname pm.lab.bpopp.net

Replace 127.0.1.1 with:

192.168.2.23  pm.lab.bpopp.net

Foreman Options

#!/bin/bash

foreman-installer \
 --enable-foreman-proxy \
 --foreman-proxy-tftp=true \
 --foreman-proxy-tftp-servername=192.168.2.6 \
 --enable-foreman-compute-vmware \
 --foreman-proxy-dns=true \
 --foreman-proxy-dns-zone=lab.bpopp.net \
 --foreman-proxy-dns-provider=nsupdate \
 --foreman-proxy-dns-server=192.168.2.1 \
 --foreman-proxy-dhcp=true  \
 --foreman-proxy-dhcp-managed=true \
 --foreman-proxy-dhcp-gateway="192.168.2.1" \
 --foreman-proxy-dhcp-nameservers="192.168.2.1" \
 --foreman-proxy-dhcp-range="192.168.2.175 192.168.2.220"