Remove pre-built iPXE image from the repo

Change-Id: If48823aceb2d61319ef08d72a21c7449618e8c47
This commit is contained in:
Matthew Booth 2019-09-26 12:09:17 +01:00
parent 652cece48c
commit e87628318a
6 changed files with 30 additions and 0 deletions

View File

@ -1,6 +1,20 @@
Preparing the Host Cloud Environment
====================================
#. Build or download an ipxe-boot image for the baremetal instances.
#. To download a pre-built image::
wget https://repos.fedorapeople.org/repos/openstack-m/ovb/ipxe-boot.qcow2
#. To build the image, run the following from the root of the OVB repo::
make -C ipxe
To install the required build dependencies on a Fedora system::
sudo dnf install -y make gcc perl xz-devel genisoimage qemu-img
#. Source an rc file that will provide admin credentials for the host cloud.
#. Upload an ipxe-boot image for the baremetal instances::

2
ipxe/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
ipxe-boot.img
ipxe-boot.qcow2

View File

@ -9,6 +9,8 @@ ipxe-boot.qcow2: ipxe-boot.img
qemu-img convert -f raw -O qcow2 $< $@
# We disable -Werror so we can build older commits with newer gcc
# Don't use parallel make, as this races to initialise config headers in a
# clean repo.
$(IPXE_IMG):
$(MAKE) -C ipxe/src NO_WERROR=1 EMBED=../../script.ipxe bin/ipxe.iso

View File

@ -3,3 +3,15 @@ IPXE image-building tools
This directory contains tools for for building an IPXE image. Run ``make`` to
build the image. It is provided as both raw and qcow2.
The iPXE image has minimal build dependencies. On a Fedora system, these are:
* make
* gcc
* perl
* xz-devel
* genisoimage
* qemu-img
Please ping Ben Nemec <openstack@nemebean.com> when making a change which
affects the ipxe image to update the public repo of pre-built images.

Binary file not shown.

Binary file not shown.