... | ... | @@ -40,7 +40,7 @@ git clone https://git.openstack.org/openstack/dib-utils.git |
|
|
export DIB_RELEASE=trusty
|
|
|
export PATH="${PWD}/dib-utils/bin:$PATH"
|
|
|
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-$DIB_RELEASE-os-config.qcow2
|
|
|
```
|
|
|
|
|
|
**2. Upload your created image to OpenStack**
|
... | ... | @@ -48,7 +48,7 @@ diskimage-builder/bin/disk-image-create vm ubuntu os-collect-config os-refresh-c |
|
|
Use the horizon GUI to upload the image you just created to your OpenStack cloud. Or have a look at the following example how to achieve that with the glance command-line client:
|
|
|
|
|
|
```
|
|
|
glance image-create --disk-format qcow2 --file ubuntu-$DIB_RELEASE-os-config.qcow2 ubuntu-$DIB_RELEASE-os-config
|
|
|
glance image-create --disk-format qcow2 --file ubuntu-$DIB_RELEASE-os-config.qcow2 ubuntu-$DIB_RELEASE-os-config
|
|
|
```
|
|
|
|
|
|
**3. Create or upload an SSH keypair for logging into instances**
|
... | ... | |