Page MenuHomePhabricator

Provide an option menu when booting via PXE
Open, MediumPublic

Description

As part of T78135: Provide a pxe-bootable rescue image and to make things simple we should be providing a choice menu via pxelinux (https://www.syslinux.org/wiki/index.php?title=Menu) to select actions besides "run d-i" at pxeboot time.

The first and default option is going to be d-i to leave current behavior unchanged for the time being.

  1. d-i (default)
  2. rescue
  3. boot from disk

Other options can include burning, wipe disks, etc

Event Timeline

fgiunchedi created this task.

Hello @fgiunchedi, I'd need to boot an-coord1002 with d-i in rescue mode to execute grub-install on a raid-1 disk (that doesn't have it), is there a procedure for a one-off that I can use/test ?

Hello @fgiunchedi, I'd need to boot an-coord1002 with d-i in rescue mode to execute grub-install on a raid-1 disk (that doesn't have it), is there a procedure for a one-off that I can use/test ?

No such procedure yet no, the easiest I'm aware of is check the host console and then boot d-i in rescue from there

Change 654192 had a related patch set uploaded (by Elukey; owner: Elukey):
[operations/puppet@production] install_server: add a "rescue" label

https://gerrit.wikimedia.org/r/654192

Change 654192 merged by Elukey:
[operations/puppet@production] install_server: add a "rescue" label

https://gerrit.wikimedia.org/r/654192

Next steps: