Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions 04_setup_ironic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,12 @@ sudo podman run -d --net host --privileged --name ironic --pod ironic-pod \
# Start Ironic Inspector
sudo podman run -d --net host --privileged --name ironic-inspector \
--pod ironic-pod -v $IRONIC_DATA_DIR:/shared "${IRONIC_INSPECTOR_IMAGE}"

sudo mkdir -p /etc/openstack
sudo cat > /etc/openstack/clouds.yaml <<EOF
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going to replace any existing file or settings that might already be present. I think we should generate the file to ./ocs like we do with the kube auth file and suggest that the user copy it (or its contents) to their home directory.

clouds:
metal3:
auth_type: none
baremetal_endpoint_override: http://127.0.0.1:6385
baremetal_introspection_endpoint_override: http://127.0.0.1:5050
EOF
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ master-2 Ready master 20m v1.12.4+50c2f2340a
For manual debugging via openstackclient, you can use the following:

```
export OS_TOKEN=fake-token
export OS_URL=http://localhost:6385/
export OS_CLOUD=metal3
openstack baremetal node list
openstack baremetal introspection list
...
```

Expand Down