-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #599 from Nordix/tuomo/relocate-ironic-client
✨ relocate ironic-client to this repository
- Loading branch information
Showing
5 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM quay.io/centos/centos:stream9 | ||
|
||
# Help people find the actual baremetal command | ||
COPY scripts/openstack /usr/bin/openstack | ||
|
||
RUN dnf install -y python3 python3-pip genisoimage && \ | ||
pip install python-ironicclient --prefix /usr --no-cache-dir && \ | ||
chmod +x /usr/bin/openstack && \ | ||
dnf update -y && \ | ||
dnf clean all && \ | ||
rm -rf /var/cache/{yum,dnf}/* | ||
|
||
ENTRYPOINT ["/usr/bin/baremetal"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Metal3 Ironic Client Container | ||
|
||
This repo contains the files needed to build a container image with the Ironic | ||
CLI utilities, which are useful for debugging via Ironic APIs. | ||
|
||
## Description | ||
|
||
When updated, builds are automatically triggered on | ||
[Quay](https://quay.io/repository/metal3-io/ironic-client). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
|
||
echo "Please use /usr/bin/baremetal instead" | ||
exit 1 |