Skip to content

Commit

Permalink
baremetal: Create clouds.yaml file on bootstrap
Browse files Browse the repository at this point in the history
If it becomes necessary to connect to the ironic or inspector services
from the command line for debugging purposes, it is useful to have a
clouds.yaml file available for the openstack client to use. Generate
this file in the correct format on the bootstrap host for convenience.
  • Loading branch information
zaneb committed Oct 28, 2020
1 parent bb532e1 commit 2a1592a
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
clouds:
metal3-bootstrap:
auth_type: http_basic
username: {{.PlatformData.BareMetal.IronicUsername}}
password: {{.PlatformData.BareMetal.IronicPassword}}
baremetal_endpoint_override: http://{{if .PlatformData.BareMetal.ProvisioningIPv6}}[{{end}}{{.PlatformData.BareMetal.ProvisioningIP}}{{if .PlatformData.BareMetal.ProvisioningIPv6}}]{{end}}:6385/v1
baremetal_introspection_endpoint_override: http://{{if .PlatformData.BareMetal.ProvisioningIPv6}}[{{end}}{{.PlatformData.BareMetal.ProvisioningIP}}{{if .PlatformData.BareMetal.ProvisioningIPv6}}]{{end}}:5050/v1

0 comments on commit 2a1592a

Please sign in to comment.