summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorArun S A G <sagarun@gmail.com>2021-01-23 11:56:51 -0800
committerArun S A G <sagarun@gmail.com>2021-03-19 09:39:50 -0700
commit26040d4563ca683319d56aaecef478df6ee5390f (patch)
tree08155e27b96d12520a4057c644879a75ffb0d617 /setup.cfg
parent121bc5a4c2ddb6a542323e55c593817df5805126 (diff)
downloadironic-26040d4563ca683319d56aaecef478df6ee5390f.tar.gz
Add anaconda configuration and template
This change adds 'anaconda' group and 'default_ks_template' configuration option under that group to ironic configuration file. Along with this change a new boot_option named 'kickstart' is added to identify anaconda kickstart deploy in the boot interface. deploy_utils.get_boot_option method is modified to check if node.deploy_interface is set to 'anaconda' and return boot_option 'kickstart'. This change also validates whether required parameters are set when the boot_option on the node is set to 'kickstart'. When boot_option is 'kickstart' we also validate if the glance image source has 'squashfs_id' property associated with it. Change-Id: I2ef7c33e2e63e6d08c084b4c5dbd77a44ddd2d14 Story: 2007839 Task: 41675
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 827fc565a..83d308e63 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -85,6 +85,7 @@ ironic.hardware.interfaces.console =
no-console = ironic.drivers.modules.noop:NoConsole
ironic.hardware.interfaces.deploy =
+ anaconda = ironic.drivers.modules.pxe:PXEAnacondaDeploy
ansible = ironic.drivers.modules.ansible.deploy:AnsibleDeploy
direct = ironic.drivers.modules.agent:AgentDeploy
fake = ironic.drivers.modules.fake:FakeDeploy