Try out bifrost and see if we want to use it as bare metal provisionner

This commit is contained in:
jeangab
2024-08-28 16:16:36 -04:00
commit 7d69ac447a
3 changed files with 36 additions and 0 deletions

23
bifrost-docker/Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# ansible does not work without it
ENV LC_ALL=C.UTF-8
RUN apt-get update && apt-get install -y \
git \
python3 \
sudo
RUN git clone https://opendev.org/openstack/bifrost.git /opt/bifrost
WORKDIR /opt/bifrost
RUN ./bifrost-cli install\
--network-interface wlp0s20f3\
--dhcp-pool 192.168.12.180-192.168.12.200
RUN pip3 install -r requirements.txt
CMD ["/bin/bash"]