{"id":1178,"date":"2019-02-21T12:41:22","date_gmt":"2019-02-21T17:41:22","guid":{"rendered":"http:\/\/sudomakeinstall.com\/?p=1178"},"modified":"2019-03-07T22:29:09","modified_gmt":"2019-03-08T03:29:09","slug":"building-octavia-images-with-centos-7-and-haproxy","status":"publish","type":"post","link":"https:\/\/sudomakeinstall.com\/uncategorized\/building-octavia-images-with-centos-7-and-haproxy","title":{"rendered":"Building Octavia Images with CentOS 7 and Haproxy"},"content":{"rendered":"\n
Do this in your python virtual env<\/p>\n\n\n\n
pip install diskimage-builder
git clone https:\/\/github.com\/openstack\/octavia.git
cd octavia\/diskimage-create\/
.\/diskimage-create.sh -b haproxy -a amd64 -o amphora-x64-haproxy -t qcow2 -s 3 -i centos
openstack image create --tag amphora --container-format bare --disk-format qcow2 --file amphora-x64-haproxy.qcow2 Amphora-CentOS7-x64-Haproxy
#Or update an existing image with the tag
glance image-tag-update e4af2c6c-f7fd-4b45-a512-145282236044 amphora<\/pre>\n","protected":false},"excerpt":{"rendered":"Do this in your python virtual env pip install diskimage-buildergit clone https:\/\/github.com\/openstack\/octavia.gitcd octavia\/diskimage-create\/.\/diskimage-create.sh -b haproxy -a amd64 -o amphora-x64-haproxy -t qcow2 -s 3 -i centosopenstack image create –tag amphora –container-format bare –disk-format qcow2 –file amphora-x64-haproxy.qcow2 Amphora-CentOS7-x64-Haproxy #Or update an existing… <\/p>\n