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 "Cookie: ses6=<session_id>" -H "x-xsrf-token: <session_id>" -H "isp-box-instance: true" -o- "https://localhost:443/dci/v3/server/<server_id>"
CODE

<mode> — boot mode. Possible values:

  • pxe — boot via PXE;
  • ipxe — boot via iPXE;
  • auto — use the template settings.

<session_id> — session id. Read more in API guide.

<server_id> — server id.

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 loaderDefault-Iso-Template.