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 26, 2020
1 parent bb532e1 commit 8253be8
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://{{.PlatformData.BareMetal.ProvisioningIP}}:6385/v1
baremetal_introspection_endpoint_override: http://{{.PlatformData.BareMetal.ProvisioningIP}}:5050/v1

0 comments on commit 8253be8

Please sign in to comment.