Bug #3297

Updated by Martin Bacovsky over 8 years ago

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

* create smart proxy
hammer proxy create --name myproxy --url
* create architecture
hammer architecture create --name x86_64
* create new subnet
hammer subnet create --name "My Net" --network "" --mask "" --gateway "" --dns-primary ""
* import existing subnet from a proxy
missing, see #3355
* create new domain
hammer domain create --name "" --fullname "My network"
* associate domain with proxy
hammer domain update --id 1 --dns-id 1
* associate subnet with domain
hammer subnet update --id 1 --domain-ids 1
* associate subnet with proxy (DHCP, TFTP, DNS)
hammer subnet update --id 1 --dhcp-id 1 --tftp-id 1 --dns-id 1
* 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 puppet classes
* and finally create a bare metal host entry