This repository provides the base files for build your own FreeBSD image for Openstack using normal build system (using GENERIC kernel) and CLOUDWARE.
BSD
The only requirements are the src
(source) component installed and net/py-python-openstackclient
port (for image upload).
Source or define also the variables for openstack upload:
In order to build your Openstack FreeBSD image please download the archive from the release page, and extract it in the /usr/src/release/
folder. Then follow these instructions:
fetch <latest-release-url>
tar -C /usr/src/release -xvf openstack.txz
cd /usr/src
); run also ldconfig
for the first time in order to create the "library cache"make buildworld buildkernel
cd /usr/src/release
make cloudware-release WITH_CLOUDWARE=yes CLOUDWARE=OPENSTACK
make openstack-upload
to upload (and also install the port if missing) the image to your Openstack cluster.Tested on:
python
to VM_EXTRA_PACKAGES
in tools/openstack.conf
), if you are planning to manage it with ansible do not forget to use ansible_python_interpreter=/usr/local/bin/python2.7
to your inventory.kldload zfs