iPXE ping gateway and name server
Fixed in Releases:
Found in Releases:
It would be helpful for debugging if the iPXE boot templates did a `ping --count=1 < gateway >` and `ping --count=1 < nameserver >` to help diagnose boot issues.
In theory this would delay boot by less than 1 second, when things are working as expected. And when things are not right, the connectivity failure will be fairly clear.
#1 Updated by Pat Riehecky about 2 years ago
Would also be handy to ping the content source, but I'm not sure how easily that is exposed to the templates.
#2 Updated by Lukas Zapletal about 2 years ago
Feel free to file a PR:
[lzap@box foreman]$ g find ipxe app/services/foreman/ipxe/message_renderer.rb app/views/unattended/provisioning_templates/PXELinux/pxelinux_chain_ipxe.erb app/views/unattended/provisioning_templates/PXELinux/pxelinux_chain_ipxe_undi.erb app/views/unattended/provisioning_templates/iPXE/autoyast_default_ipxe.erb app/views/unattended/provisioning_templates/iPXE/ipxe_default_local_boot.erb app/views/unattended/provisioning_templates/iPXE/ipxe_global_default.erb app/views/unattended/provisioning_templates/iPXE/ipxe_intermediate_script.erb app/views/unattended/provisioning_templates/iPXE/kickstart_default_ipxe.erb app/views/unattended/provisioning_templates/iPXE/preseed_default_ipxe.erb app/views/unattended/provisioning_templates/iPXE/windows_default_ipxe.erb [lzap@box foreman]$ ag content_source app/views/unattended/report_templates/ansible_-_ansible_inventory.erb 130: 'content_source': content_facet.content_source, 131: 'content_source_id': content_facet.content_source_id, 132: 'content_source_name': content_facet.content_source_name,
#3 Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8240 added
#4 Updated by The Foreman Bot about 2 years ago
- Fixed in Releases 2.4.0 added
#5 Updated by Pat Riehecky about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|676d18a2cf1a94b3a956ea29ec9aae991d7bd10f.
fixes #31585 - iPXE ping gateway and name server