From 0002de69098c45aff221e7fe5da97dcfd0f906a7 Mon Sep 17 00:00:00 2001 From: shaofeng_cheng Date: Sat, 27 May 2017 11:41:32 +0800 Subject: [PATCH] Enabled pxe_ssh driver in ironic XenServer drivers can be used to deploy hosts with Ironic by using XenServer VMs to simulate bare metal nodes. Ironic provides support via the pxe_ssh and agent_ssh drivers for using a XenServer VM as a bare metal target and do provisioning on it. Change-Id: Icd39f9f4573cf7c8c654591256f0228ef21d6117 --- ansible/roles/ironic/templates/ironic.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/ironic/templates/ironic.conf.j2 b/ansible/roles/ironic/templates/ironic.conf.j2 index 9673693a98..ff869f1df1 100644 --- a/ansible/roles/ironic/templates/ironic.conf.j2 +++ b/ansible/roles/ironic/templates/ironic.conf.j2 @@ -6,7 +6,7 @@ log_dir = /var/log/kolla/ironic admin_user = {{ openstack_auth.username }} admin_password = {{ keystone_admin_password }} -enabled_drivers = pxe_ipmitool +enabled_drivers = pxe_ipmitool,pxe_ssh transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{% if orchestration_engine == 'KUBERNETES' %}rabbitmq{% else %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}{% endif %}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}