From b66eaade5c122893b4c40677e6de2d367129b3b2 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Wed, 12 Jun 2019 11:24:21 +0200 Subject: [PATCH] Generate clouds.yaml for ironic and ironic-inspector and document using it The main benefit is that we'll be able to use ironic and ironic-inspector simultaneously, without redefining OS_URL each time. --- 04_setup_ironic.sh | 9 +++++++++ README.md | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/04_setup_ironic.sh b/04_setup_ironic.sh index ff8d0ef6d..fa37191fb 100755 --- a/04_setup_ironic.sh +++ b/04_setup_ironic.sh @@ -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 <