Skip to content

Commit

Permalink
fix shellcheck and markdownlint
Browse files Browse the repository at this point in the history
  • Loading branch information
mboukhalfa committed Jan 3, 2024
1 parent 01b9f4c commit 7b1de6b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Support/Multitenancy/ironic-env/05-apply-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ sudo ln -sf "$PWD/ironicclient.sh" "/usr/local/bin/baremetal"

# Create ironic node

mkdir /opt/metal3-dev-env/ironic/html/images
mkdir /opt/metal3-dev-env/ironic/html/images || true
touch /opt/metal3-dev-env/ironic/html/images/image.qcow2

baremetal node create --driver redfish --driver-info \
Expand Down
5 changes: 2 additions & 3 deletions Support/Multitenancy/ironic-env/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# Deploy fake ipa testbed.
# Deploy fake ipa testbed

## Requirements

Machine: `4c / 16gb / 100gb`
OS: `CentOS9-20220330`

# Test fake ipa
## Test fake ipa

1. clone the env scripts and `cd metal3-clusterapi-docs/Support/Multitenancy/ironic-env`
2. check configs in config.py
3. run init `./Init-environment.sh`
4. to just rebuild fake-ipa from the local repo run `./rebuild-fipa.sh`
5. to clean the env `./clean.sh`

2 changes: 0 additions & 2 deletions Support/Multitenancy/ironic-env/ironicclient.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

DIR="$(dirname "$(readlink -f "$0")")"

if [ -d "${PWD}/_clouds_yaml" ]; then
MOUNTDIR="${PWD}/_clouds_yaml"
else
Expand Down
5 changes: 0 additions & 5 deletions Support/Multitenancy/ironic-env/rebuild-fipa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ baremetal node delete default-node

./build-sushytools-image-with-fakeipa-changes.sh
SUSHY_TOOLS_IMAGE="127.0.0.1:5000/localimages/sushy-tools"
LIBVIRT_URI="qemu+ssh://[email protected]/system?&keyfile=/root/ssh/id_rsa_virt_power&no_verify=1&no_tty=1"
API_URL="http://172.22.0.2:6385"
CALLBACK_URL="http://172.22.0.2:5050/v1/continue"
ADVERTISE_HOST="192.168.111.1"
ADVERTISE_PORT="9999"

# Set configuration options
cp conf.py "$HOME/sushy-tools/conf.py"
Expand Down

0 comments on commit 7b1de6b

Please sign in to comment.