DCImanager 6 Knowledge Base

How to enable server booting via PXE/iPXE?

The DCImanager 6 templates settings specify the server boot mode — using PXE or iPXE. By default, the server uses the mode set in the template. If the server is having problems booting in this mode, you can change the boot method. To do this, perform an operation on the server using a template that supports boot mode selection. 

Note
If a server supports both boot modes, we recommend using iPXE mode.

You can also change the boot method via the API. To do this, connect to the server with DCImanager 6 via SSH and execute the command:

curl -k -# -d '{"settings":{"boot_mode":"<mode>"}}' -H "x-xsrf-token: <token>" -H "isp-box-instance: true" -o- "https://localhost:443/dci/v3/server/<server_id>"
Comments to the command
Note

In the current version of DCImanager 6, you can change the boot mode for templates:

  • diagnostics — Diag6;
  • recovery — Sysrescd6-x86_64;
  • OS — CentOS 7, Debian 9, Debian 10, Ununtu 18.04, Ubuntu 20.04.
  • ISO images loader — Default-Iso-Template.