Skip to content

Commit

Permalink
GitBook: [#117] Document setting default pxe images
Browse files Browse the repository at this point in the history
  • Loading branch information
msherman64 authored and gitbook-bot committed Sep 20, 2022
1 parent 45b028a commit e310262
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/setup-guides/production-baremetal/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,27 @@ All of these will be provisioned by running the post-deploy script:
./cc-ansible post-deploy
```

#### Set Default PXE Boot Image

After running `post-deploy`, two new images will have been downloaded, and added to glance, named `pxe_deploy_kernel` and `pxe_deploy_ramdisk`.

Ironic needs to be configured to use these images to netboot nodes, and you'll need the UUIDs that glance assigned to them. Get them either from Horizon, under images, or by running `openstack image show <name>`.

To set them as default, add the following to your `defaults.yml`

```
ironic_deploy_kernel: <pxe_deploy_kernel_uuid>
ironic_deploy_ramdisk: <pxe_deploy_ramdisk_uuid>
```

Then, run `cc-ansible deploy --tags ironic` to deploy the change.

These will be used if not overridden for a specific node, which can be done via:

```
openstack hardware set --deploy_kernel <deploy_kernel_uuid> --deploy_ramdisk <deploy_ramdisk_uuid> <node_uuid>
```

### Install the OpenStack Client

Run the following commands:
Expand Down

0 comments on commit e310262

Please sign in to comment.