This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
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 #4 from dtantsur/baremetal
Transition away from openstackclient
- Loading branch information
Showing
2 changed files
with
12 additions
and
4 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
FROM docker.io/centos:centos8 | ||
|
||
# Help people find the actual baremetal command | ||
COPY scripts/openstack /usr/bin/openstack | ||
|
||
RUN dnf install -y python3 python3-requests && \ | ||
curl https://raw.githubusercontent.com/openstack/tripleo-repos/master/tripleo_repos/main.py | python3 - -b master current-tripleo && \ | ||
dnf update -y && \ | ||
dnf install -y python3-ironicclient python3-ironic-inspector-client python3-openstackclient && \ | ||
dnf update -y --setopt=install_weak_deps=False && \ | ||
dnf install -y --setopt=install_weak_deps=False python3-ironicclient python3-ironic-inspector-client && \ | ||
dnf clean all && \ | ||
rm -rf /var/cache/{yum,dnf}/* | ||
rm -rf /var/cache/{yum,dnf}/* && \ | ||
chmod +x /usr/bin/openstack | ||
|
||
ENTRYPOINT ["/usr/bin/openstack"] | ||
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,4 @@ | ||
#!/bin/sh | ||
|
||
echo "Please use /usr/bin/baremetal instead" | ||
exit 1 |