{"id":191,"date":"2026-09-22T10:47:58","date_gmt":"2026-09-22T10:47:58","guid":{"rendered":"https:\/\/phoenixnap.com\/doc\/?p=191"},"modified":"2026-11-27T10:19:41","modified_gmt":"2026-11-27T10:19:41","slug":"custom-os","status":"publish","type":"post","link":"https:\/\/phoenixnap.com\/doc\/custom-os","title":{"rendered":"Set Up a Custom OS"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The Custom OS feature lets you install a different OS on the server with a unique setup. By default, it installs Ubuntu Jammy (22.04) to RAM and lets you run post-provisioning actions on the server. To demonstrate the custom OS feature on BMC, this tutorial installs a <a href=\"https:\/\/phoenixnap.com\/blog\/centos-alternatives\" target=\"_blank\" rel=\"noreferrer noopener\">CentOS alternative<\/a>: Rocky Linux.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The steps below show how to provision a server with a custom OS using an Ansible playbook. The Ansible playbook uses the <a href=\"https:\/\/developers.phoenixnap.com\/docs\/bmc\/1\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">Bare Metal Cloud API<\/a> to provision a server and performs additional post-provisioning actions. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> The following features are customizable through the Ansible playbook:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The root size.<\/li>\n\n\n\n<li>The choice of whether to use LVM or not.<\/li>\n\n\n\n<li>Setting the RAID level, if any. To learn more, check out our <a href=\"https:\/\/phoenixnap.com\/kb\/raid-levels-and-types\" target=\"_blank\" rel=\"noreferrer noopener\">RAID levels and types<\/a> guide.<\/li>\n\n\n\n<li>Custom OS disk image, either a pre-created one or a custom-made image.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group has-background is-vertical is-layout-flex wp-container-core-group-is-layout-2e417836 wp-block-group-is-layout-flex\" style=\"border-left-color:#4fabc2;border-left-width:0.19rem;background-color:#4fabc233;padding-top:0.94rem;padding-right:var(--wp--preset--spacing--30);padding-bottom:0.94rem;padding-left:1.25rem\">\n<h6 class=\"wp-block-heading\" style=\"font-size:0.81rem;font-style:normal;font-weight:600;letter-spacing:0px\">Prerequisites<\/h6>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.102), 0.94rem);\">Log in to the <a href=\"https:\/\/bmc.phoenixnap.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">BMC portal<\/a> (if you are a new user, <a href=\"https:\/\/phoenixnap.com\/doc\/set-up-your-account\/\" data-type=\"post\" data-id=\"313\">set up your account<\/a>). You will also need access to an Ubuntu machine with Ansible 2.9+, <a href=\"https:\/\/phoenixnap.com\/doc\/ansible\/\" data-type=\"post\" data-id=\"267\">BMC Ansible module<\/a>, and Git installed.<\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Authorize Access to BMC Resources<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. Open the <strong>API Credentials<\/strong> page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Create new credentials with the <strong>bmc<\/strong> scope.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Copy and paste the credentials into a <em>~\/.pnap\/config.yaml<\/em> file:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"YAML\" data-shcb-language-slug=\"yaml\"><span><code class=\"hljs language-yaml\"><span class=\"hljs-attr\">clientId:<\/span> <span class=\"hljs-string\">&#91;client_ID]<\/span>\n<span class=\"hljs-attr\">clientSecret:<\/span> <span class=\"hljs-string\">&#91;client_secret]<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">YAML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">yaml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">The Ansible playbook uses these credentials to authorize API requests for provisioning the server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. Lastly, <a href=\"https:\/\/phoenixnap.com\/kb\/generate-setup-ssh-key-ubuntu\" target=\"_blank\" rel=\"noreferrer noopener\">generate SSH keys<\/a> to allow access to the server:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\">ssh-keygen<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Save the keys using default names (<em>id_rsa<\/em> and <em>id_rsa.pub<\/em>). For different names, apply the changes in subsequent steps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The SSH public key provisions the server with the Ansible playbook. After setup, the keys enable remote SSH access to the server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Clone Ansible Playbook Files from GitHub<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Custom OS playbooks are available on <a href=\"https:\/\/github.com\/phoenixnap\/ansible-ramos-bmc\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">phoenixNAP's GitHub page<\/a>. The playbooks work with the BMC API to provision and set up the server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fetch the Ansible playbook files:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\">git <span class=\"hljs-built_in\">clone<\/span> https:\/\/github.com\/phoenixnap\/ansible-ramos-bmc<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">The playbook files are:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th>File<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><strong><em>inventory.yaml<\/em><\/strong><\/td><td>Contains all the information about the BMC server. Provide custom values in this file for a different setup.<\/td><\/tr><tr><td><em><strong>provision.yaml<\/strong><\/em><\/td><td>Deploys the BMC server using the Custom OS feature. The playbook uses the information from <em><strong>inventory.yaml<\/strong><\/em> to deploy and set up a custom OS on the server.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Customize OS Inventory File<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <em><strong>inventory.yaml<\/strong><\/em> file contains information about your server and the custom OS setup. The default values used in this guide are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An <strong>s2.c1.medium<\/strong> server in <strong>Phoenix<\/strong> at an <strong>hourly rate<\/strong>.<\/li>\n\n\n\n<li><strong>Rocky OS<\/strong> with a <strong>50G root volume<\/strong>, <strong>LVM<\/strong>, and <strong>RAID level 0<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The file contains information about the server in the following fields:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">Field<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>hosts<\/code><\/strong><\/td><td>Lists individual hosts. Specify additional hosts with personalized options to provision multiple custom OS servers.<br><br>Value: <strong>ramosrocky9<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>description<\/code><\/strong><\/td><td>A description of the server.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>os<\/code><\/strong><\/td><td>The OS of the provisioned server. <strong>Do not change this field<\/strong>.<br><br>Value: <strong>ubuntu\/jammy<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>type<\/code><\/strong><\/td><td>The <a href=\"https:\/\/phoenixnap.com\/doc\/instance-types\/\">BMC server instance<\/a> to provision. <\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>location<\/code><\/strong><\/td><td>The three-letter code for the <a href=\"https:\/\/phoenixnap.com\/doc\/locations\/\">server location<\/a>.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>ssh_key<\/code><\/strong><\/td><td>The location of the public SSH key for authentication. If using a different name or path, change the value.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>install_default_ssh_keys<\/code><\/strong><\/td><td>Tells the server to add any default SSH keys from your BMC account.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>ssh_key_ids<\/code><\/strong><\/td><td>List of additional SSH keys to add. Locate the IDs on the <a href=\"https:\/\/phoenixnap.com\/doc\/ssh-keys\/\" data-type=\"post\" data-id=\"241\">SSH Keys Management<\/a> page. Leave blank if no additional keys are necessary.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>reservation_id<\/code><\/strong><\/td><td>If using a reservation, provide the reservation ID in this field. If provisioning a new server, leave this field as <strong>Null<\/strong>.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>pricing_model<\/code><\/strong><\/td><td>The <a href=\"https:\/\/phoenixnap.com\/doc\/billing-models\/\" data-type=\"post\" data-id=\"154\">billing model<\/a>. <br><br>Value: <strong>HOURLY<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>network_type<\/code><\/strong><\/td><td>Defines the network to install additional requirements.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Additional information about the custom OS is in the following variables:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">Field<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>os_user<\/code><\/strong><\/td><td>The user for accessing the server via SSH after installation. <br><br>Value: <strong><code>rocky<\/code><\/strong>.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>os_root_size<\/code><\/strong><\/td><td>Size of the root partition in gigabytes. Set the size between <strong><code>20<\/code><\/strong> and <strong><code>50GB<\/code><\/strong>.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>os_lvm<\/code><\/strong><\/td><td>Indicates whether to use <a href=\"https:\/\/phoenixnap.com\/kb\/lvm-linux\" target=\"_blank\" rel=\"noreferrer noopener\">logical volume management<\/a>.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>os_raid<\/code><\/strong><\/td><td>Sets the RAID level. Available options are <strong><code>0<\/code><\/strong> or <strong><code>1<\/code><\/strong>. Leave blank for no RAID setup.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong><code>os_image_url<\/code><\/strong><\/td><td>Link to the image of the custom OS you wish to install.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Run Provision Playbook<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong><em>provision.yaml<\/em><\/strong> playbook provisions a server with Ubuntu Jammy (22.04) booted in RAM. After the boot, the playbook automatically installs a custom OS based on the values provided in <em><strong>inventory.yaml<\/strong><\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run the playbook:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash shcb-wrap-lines\">ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook provision.yaml -i inventory.yaml<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">The playbook goes through the following tasks:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Provisions the server. Once the server provisions, the output shows a response with the server details. If provisioning fails, double-check that the server instance you're trying to deploy is available for the chosen location.<\/li>\n\n\n\n<li>Connects to the server via SSH.<\/li>\n\n\n\n<li>Sets up the OS image. The playbook uses the <a href=\"https:\/\/github.com\/canonical\/curtin\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">curtin<\/a> tool to download the image previously created using <a href=\"https:\/\/github.com\/hashicorp\/packer\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">packer<\/a>.<\/li>\n\n\n\n<li>Performs <a href=\"https:\/\/phoenixnap.com\/glossary\/block-device\" target=\"_blank\" rel=\"noreferrer noopener\">block device<\/a> checks to ensure the right resources are available for the custom setup.<\/li>\n\n\n\n<li>Creates the curtin installer configuration file and executes the file to perform the installation.<\/li>\n\n\n\n<li>Reboots and connects via SSH to confirm a connection.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group has-background is-vertical is-layout-flex wp-container-core-group-is-layout-2e417836 wp-block-group-is-layout-flex\" style=\"border-left-color:#fde9ce;border-left-width:0.19rem;background-color:#fde9ce66;padding-top:0.94rem;padding-right:var(--wp--preset--spacing--30);padding-bottom:0.94rem;padding-left:1.25rem\">\n<h6 class=\"wp-block-heading\" style=\"font-size:0.81rem;font-style:normal;font-weight:600;letter-spacing:0px\">Note<\/h6>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.102), 0.94rem);\">Add the <strong><code>-vv<\/code><\/strong> tag for verbose output to see task details.<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Once the setup completes, the output shows the playbook recap. The server is set up with a custom OS and ready to use.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Connect to Server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To connect to the server via SSH, use the OS user provided in the <em><strong>inventory.yaml<\/strong><\/em> file and the server's IP address to access the server via SSH. If using the default values, the user is set to <strong>rocky<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After connecting to the server, list the block devices to confirm the setup is successful:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\">lsblk<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">The output shows the values provided in the <em><strong>inventory.yaml<\/strong><\/em> file. The default values are a 50G root volume with LVM and RAID 0 setup. Root access and <a href=\"https:\/\/phoenixnap.com\/kb\/linux-sudo-command\" target=\"_blank\" rel=\"noreferrer noopener\">sudo commands<\/a> are immediately available.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use the Custom OS feature and Ansible to prepare and deploy a custom operating system.<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[57],"tags":[],"class_list":["post-191","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Set Up a Custom OS | phoenixNAP<\/title>\n<meta name=\"description\" content=\"Guide to installing custom operating systems in phoenixNAP BMC. Learn how to automate disk images, RAID, and LVM using Ansible playbooks.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/phoenixnap.com\/doc\/custom-os\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Set Up a Custom OS | phoenixNAP\" \/>\n<meta property=\"og:description\" content=\"Guide to installing custom operating systems in phoenixNAP BMC. Learn how to automate disk images, RAID, and LVM using Ansible playbooks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/phoenixnap.com\/doc\/custom-os\" \/>\n<meta property=\"og:site_name\" content=\"BMC Docs\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/phoenixnap\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-22T10:47:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-27T10:19:41+00:00\" \/>\n<meta name=\"author\" content=\"Marko Aleksic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@phoenixNAP\" \/>\n<meta name=\"twitter:site\" content=\"@phoenixNAP\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Marko Aleksic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/custom-os#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/custom-os\"},\"author\":{\"name\":\"Marko Aleksic\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#\\\/schema\\\/person\\\/388816d91a9c0dbfb4257a5807eb0850\"},\"headline\":\"Set Up a Custom OS\",\"datePublished\":\"2026-09-22T10:47:58+00:00\",\"dateModified\":\"2026-11-27T10:19:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/custom-os\"},\"wordCount\":855,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#organization\"},\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/custom-os#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/custom-os\",\"url\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/custom-os\",\"name\":\"Set Up a Custom OS | phoenixNAP\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#website\"},\"datePublished\":\"2026-09-22T10:47:58+00:00\",\"dateModified\":\"2026-11-27T10:19:41+00:00\",\"description\":\"Guide to installing custom operating systems in phoenixNAP BMC. Learn how to automate disk images, RAID, and LVM using Ansible playbooks.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/custom-os#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/custom-os\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/custom-os#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Set Up a Custom OS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#website\",\"url\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/\",\"name\":\"phoenixNAP Bare Metal Cloud Documentation\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#organization\",\"name\":\"phoenixNAP\",\"url\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/phoenixnap-logo.png\",\"contentUrl\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/phoenixnap-logo.png\",\"width\":200,\"height\":200,\"caption\":\"phoenixNAP\"},\"image\":{\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/phoenixnap\",\"https:\\\/\\\/x.com\\\/phoenixNAP\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/phoenix-nap\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/PhoenixNAPdatacenter\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/#\\\/schema\\\/person\\\/388816d91a9c0dbfb4257a5807eb0850\",\"name\":\"Marko Aleksic\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cd755a8fadae1a19e47b381aa9aa6309fde0a9dbb6decea8c96f027e1babf093?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cd755a8fadae1a19e47b381aa9aa6309fde0a9dbb6decea8c96f027e1babf093?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cd755a8fadae1a19e47b381aa9aa6309fde0a9dbb6decea8c96f027e1babf093?s=96&d=mm&r=g\",\"caption\":\"Marko Aleksic\"},\"url\":\"https:\\\/\\\/phoenixnap.com\\\/doc\\\/author\\\/markoa\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Set Up a Custom OS | phoenixNAP","description":"Guide to installing custom operating systems in phoenixNAP BMC. Learn how to automate disk images, RAID, and LVM using Ansible playbooks.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/phoenixnap.com\/doc\/custom-os","og_locale":"en_US","og_type":"article","og_title":"Set Up a Custom OS | phoenixNAP","og_description":"Guide to installing custom operating systems in phoenixNAP BMC. Learn how to automate disk images, RAID, and LVM using Ansible playbooks.","og_url":"https:\/\/phoenixnap.com\/doc\/custom-os","og_site_name":"BMC Docs","article_publisher":"https:\/\/www.facebook.com\/phoenixnap","article_published_time":"2026-09-22T10:47:58+00:00","article_modified_time":"2026-11-27T10:19:41+00:00","author":"Marko Aleksic","twitter_card":"summary_large_image","twitter_creator":"@phoenixNAP","twitter_site":"@phoenixNAP","twitter_misc":{"Written by":"Marko Aleksic","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/phoenixnap.com\/doc\/custom-os#article","isPartOf":{"@id":"https:\/\/phoenixnap.com\/doc\/custom-os"},"author":{"name":"Marko Aleksic","@id":"https:\/\/phoenixnap.com\/doc\/#\/schema\/person\/388816d91a9c0dbfb4257a5807eb0850"},"headline":"Set Up a Custom OS","datePublished":"2026-09-22T10:47:58+00:00","dateModified":"2026-11-27T10:19:41+00:00","mainEntityOfPage":{"@id":"https:\/\/phoenixnap.com\/doc\/custom-os"},"wordCount":855,"commentCount":0,"publisher":{"@id":"https:\/\/phoenixnap.com\/doc\/#organization"},"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/phoenixnap.com\/doc\/custom-os#respond"]}]},{"@type":"WebPage","@id":"https:\/\/phoenixnap.com\/doc\/custom-os","url":"https:\/\/phoenixnap.com\/doc\/custom-os","name":"Set Up a Custom OS | phoenixNAP","isPartOf":{"@id":"https:\/\/phoenixnap.com\/doc\/#website"},"datePublished":"2026-09-22T10:47:58+00:00","dateModified":"2026-11-27T10:19:41+00:00","description":"Guide to installing custom operating systems in phoenixNAP BMC. Learn how to automate disk images, RAID, and LVM using Ansible playbooks.","breadcrumb":{"@id":"https:\/\/phoenixnap.com\/doc\/custom-os#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/phoenixnap.com\/doc\/custom-os"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/phoenixnap.com\/doc\/custom-os#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/phoenixnap.com\/doc\/"},{"@type":"ListItem","position":2,"name":"Set Up a Custom OS"}]},{"@type":"WebSite","@id":"https:\/\/phoenixnap.com\/doc\/#website","url":"https:\/\/phoenixnap.com\/doc\/","name":"phoenixNAP Bare Metal Cloud Documentation","description":"","publisher":{"@id":"https:\/\/phoenixnap.com\/doc\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/phoenixnap.com\/doc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/phoenixnap.com\/doc\/#organization","name":"phoenixNAP","url":"https:\/\/phoenixnap.com\/doc\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/phoenixnap.com\/doc\/#\/schema\/logo\/image\/","url":"https:\/\/phoenixnap.com\/doc\/wp-content\/uploads\/2026\/10\/phoenixnap-logo.png","contentUrl":"https:\/\/phoenixnap.com\/doc\/wp-content\/uploads\/2026\/10\/phoenixnap-logo.png","width":200,"height":200,"caption":"phoenixNAP"},"image":{"@id":"https:\/\/phoenixnap.com\/doc\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/phoenixnap","https:\/\/x.com\/phoenixNAP","https:\/\/www.linkedin.com\/company\/phoenix-nap\/","https:\/\/www.youtube.com\/user\/PhoenixNAPdatacenter"]},{"@type":"Person","@id":"https:\/\/phoenixnap.com\/doc\/#\/schema\/person\/388816d91a9c0dbfb4257a5807eb0850","name":"Marko Aleksic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/cd755a8fadae1a19e47b381aa9aa6309fde0a9dbb6decea8c96f027e1babf093?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cd755a8fadae1a19e47b381aa9aa6309fde0a9dbb6decea8c96f027e1babf093?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cd755a8fadae1a19e47b381aa9aa6309fde0a9dbb6decea8c96f027e1babf093?s=96&d=mm&r=g","caption":"Marko Aleksic"},"url":"https:\/\/phoenixnap.com\/doc\/author\/markoa"}]}},"_links":{"self":[{"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/posts\/191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/comments?post=191"}],"version-history":[{"count":18,"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/posts\/191\/revisions"}],"predecessor-version":[{"id":3380,"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/posts\/191\/revisions\/3380"}],"wp:attachment":[{"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/media?parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/categories?post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixnap.com\/doc\/wp-json\/wp\/v2\/tags?post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}