Project

General

Profile

Bug #3297

Updated by Martin Bacovsky over 5 years ago

The goal is to provision bare metal host on a clean install of Foreman. The following steps are necessary:

* create smart proxy
<pre>
hammer proxy create --name myproxy --url https://proxy.my.net:8443
</pre>
* create architecture
<pre>
hammer architecture create --name x86_64
</pre>
* create new subnet
<pre>
hammer subnet create --name "My Net" --network "192.168.122.0" --mask "255.255.255.0" --gateway "192.168.122.1" --dns-primary "192.168.122.1"
</pre>
* import existing subnet from a proxy
missing, see #3355
* create new domain
* associate domain with proxy
* associate subnet with domain
* associate subnet with proxy (DHCP, TFTP, DNS)
* create new partition table
* create new OS
* create new template
* edit existing pre-defined template
* associate applicable OS with pre-defined template
* associate OS with architecture
* associate OS with part table
* associate OS with install media
* associate OS with install provision and pxelinux templates
* create libvirt compute resource
* import create puppet classes environment
* and finally create a bare metal host entry

Back