... | ... | @@ -33,7 +33,7 @@ To create an os-*-config ready Ubuntu image you could use the following commands |
|
|
|
|
|
```
|
|
|
sudo apt-get install python-pip
|
|
|
sudo pip installl virtualenv
|
|
|
sudo pip install virtualenv
|
|
|
virtualenv ~/dib-virtualenv
|
|
|
. ~/dib-virtualenv/bin/activate
|
|
|
pip install diskimage-builder
|
... | ... | @@ -41,9 +41,8 @@ mkdir custom-image |
|
|
cd custom-image
|
|
|
git clone https://git.openstack.org/openstack/tripleo-image-elements.git
|
|
|
git clone https://git.openstack.org/openstack/heat-templates.git
|
|
|
git clone https://git.openstack.org/openstack/dib-utils.git
|
|
|
export ELEMENTS_PATH=tripleo-image-elements/elements:heat-templates/hot/software-config/elements
|
|
|
diskimage-builder/bin/disk-image-create vm ubuntu os-collect-config os-refresh-config os-apply-config heat-config heat-config-script -o ubuntu-$DIB_RELEASE-os-config.qcow2
|
|
|
diskimage-builder/bin/disk-image-create vm ubuntu os-collect-config os-refresh-config os-apply-config heat-config heat-config-script -o ubuntu-xenial-os-config.qcow2
|
|
|
```
|
|
|
As a remark (12-12-2016), you can see above that we use trusty (14.04) version of Ubuntu ($DIB_RELEASE). In principle, the heat template works with Ubuntu xenial (16.04), however we have problems connecting UEs to the core when using xenial. So please test with trusty (14.04) version of Ubuntu first.
|
|
|
Update (4-10-2017) It should be safe to use ubuntu 16.04 xenial as far as read the mailinglist... I updated instructions accordingly.
|
... | ... | |