Create Operating System
Authentication
Path parameters
Request
Target Site for the Operating System. For image-based and Templated iPXE Operating Systems exactly one Site is required, even though this field is an array. The list is fixed at creation and cannot be changed on update. Not applicable to raw iPXE OS.
Original URL from which the Operating System image can be retrieved; required for image-based OS. Cannot be specified if ipxeScript is specified
SHA hash of the image file, required for image-based OS
Authentication type for image URL, if needed, e.g., basic/bearer/token; required if imageAuthToken is specified
Optional whole-disk target that will be overwritten with the image. Accepts smallest, /dev/nvme<controller>n<namespace>, /dev/sd<letters>, /dev/vd<letters>, or /dev/disk/by-id/<identifier>. smallest selects the smallest enumerated whole disk, preferring one with an EFI partition to break a size tie. Partition aliases ending in -part<digits> are rejected. When omitted, null, or empty on creation, the Site prefers a disk with an EFI partition, then falls back to /dev/nvme0n1 or /dev/sda.
Root filesystem UUID; this or rootFsLabel is required for image-based OS
Root filesystem label; this or rootFsId is required for image-based OS
User data for the Operating System. Limited to 32768 bytes (32 KiB), measured on the effective value NICo stores rather than the text submitted. Operating System defaults are inherited first, and when phone-home is configured the document is re-serialized with a phone_home block added. Re-serialization normalizes indentation and can grow the document, so a request just under the limit may still be rejected.
ID of the iPXE template to use; identifies a Templated iPXE Operating System. Mutually exclusive with ipxeScript and imageUrl.
Parameters passed to the iPXE template (Templated iPXE only).
Artifacts (kernel, initrd, ISO, …) for the iPXE OS definition (Templated iPXE only).
Deprecated: Infrastructure Provider is now inferred from org membership.
Deprecated: Tenant is now inferred from org membership.
Deprecated: raw iPXE Operating Systems are superseded by Templated iPXE (ipxeTemplateId). iPXE script or URL, only applicable for iPXE-based OS. Cannot be specified if imageUrl is specified.
Deprecated and ignored: whether the Operating System is cloud-init based. Value now derived from userData.
Response
SHA hash of the image file, only present for image-based OS
Whole-disk target that will be overwritten with the image. Accepts smallest, /dev/nvme<controller>n<namespace>, /dev/sd<letters>, /dev/vd<letters>, or /dev/disk/by-id/<identifier>. smallest selects the smallest enumerated whole disk, preferring one with an EFI partition to break a size tie. Partition aliases ending in -part<digits> are rejected. An empty stored value means the Site prefers a disk with an EFI partition, then falls back to /dev/nvme0n1 or /dev/sda.
Root filesystem UUID, only applicable for image-based Operating System
Root filesystem label, only applicable for image-based Operating System
iPXE script or URL, only applicable for iPXE-based Operating System
Parameters passed to the iPXE template (Templated iPXE only)
Artifacts for the iPXE OS definition (Templated iPXE only). authToken is redacted.
Whether the Operating System is cloud-init based; true if there is non-empty userData, false otherwise.
Date/time when the Operating System was created
Date/time when the Operating System was updated