Hello Foreman users,
Foreman. Not sure if the reason is that Solaris 11 has its own automated
installer or if there are technical challenges. At any rate, we have many
users and would like to provide a single platform for OS install and were
able to gently hack the
/usr/share/foreman/app/models/operatingsystems/solaris.rb file with the
changes as attached.
Installation media pointing to Solaris 11 AI:
http://x.x.x.x:5555/export/auto_install/solaris$major_$minor-i386/
Boot filename:
/var/lib/tftpboot/pxegrub2
Boot menu:
/var/lib/tftpboot/boot/grub/grub.cfg (file attached)
Foreman proxy:
DHCP, TFTP services
After creation of new host, Foreman was able to download the kernel and
boot_archive from the AI server. At time of install, these steps were also
successful:
- get static IP from DHCP
- display the grub.cfg boot menu
- transfer kernel and boot_archive to new host
Upon completion of transferring kernel and boot_archive, according to
/var/log/messages, the new host once again request for the IP.
dhcpd: DHCPOFFER on 'static-ip' to 00:00:00:a0:63:75 via ens160
dhcpd: DHCPREQUEST for 'static-ip' ('foreman proxy ip') from
00:00:00:a0:63:75 via ens160
(Scenario 1)
Even though the Foreman DHCP proxy server has all the relevant information
(ie, static IP, MAC) in /var/lib/dhcpd/dhcpd.leases, this info does not get
passed onto the new host the second time. Without obtaining an IP, the
install failed.
(Scenario 2)
In another scenario, we have an external DHCP server (not Foreman proxy
server), the new host gets its static IP the second time and the install
succeeds.
It's understandable that it would be difficult to reproduce these scenarios
as many pieces are involved, but any help is greatly appreciated as I have
run out of ideas.
Thank you.
Trisha
solaris.rb.docx (10.2 KB)