bifrost/playbooks/roles/bifrost-ironic-install/files
Markos Chandras 69486c4f58 playbooks: bifrost-ironic-install: Fix reboot if iPXE boot failed
If iPXE boot failed, then make sure the 'reboot' action is really
executed. The problem with 'prompt --timeout...' is that this command
will fail if no key is pressed. However, iPXE exits immediately if
one of the command fails so the 'reboot' action was never executed and
the node was stuck in the following unbootable state.

boot.ipxe : 395 bytes [script]
/pxelinux.cfg/52-54-00-23-e4-c2... No such file or directory (http://ipxe.org/2d0c613b)
/pxelinux.cfg/default... ok
Configuring (net0 52:54:00:23:e4:c2).................. Error 0x040ee119 (http://ipxe.org/040ee119)
Could not boot: Error 0x040ee119 (http://ipxe.org/040ee119)
PXE boot failed. No configuration found for MAC 52:54:00:23:e4:c2
Press any key to reboot...
Could not boot image: Connection timed out (http://ipxe.org/4c22e035)
No more network devices

Change-Id: If4b2bab25bcfe8da0a64ee9cc1659580aec9776a
2017-02-08 12:07:35 +00:00
..
boot.ipxe playbooks: bifrost-ironic-install: Fix reboot if iPXE boot failed 2017-02-08 12:07:35 +00:00
ironic_policy.te Allow bifrost to work with selinux enabled 2016-11-16 17:36:39 +01:00
tftpboot-map-file Rename install role to bifrost-ironic-install 2015-08-14 12:17:56 -04:00
xinetd.tftp Fix minor grammar/spelling issue 2015-09-09 10:06:26 -07:00