| 1 |
Build openSUSE Leap 42.1 image for OpenStack Magnum |
| 2 |
=================================================== |
| 3 |
|
| 4 |
This instruction describes how to build manually openSUSE Leap 42.1 image |
| 5 |
for OpenStack Magnum with Kubernetes packages. |
| 6 |
|
| 7 |
Link to the image: |
| 8 |
http://download.opensuse.org/repositories/Cloud:/Images:/Leap_42.1/images/openSUSE-Leap-42.1-JeOS-for-OpenStack-Magnum-K8s.x86_64.qcow2 |
| 9 |
|
| 10 |
## Requirements |
| 11 |
|
| 12 |
Please install openSUSE (https://www.opensuse.org/) on physical or virtual machine. |
| 13 |
|
| 14 |
## Install packages |
| 15 |
|
| 16 |
Install `kiwi` package on openSUSE node, where do you want to build your image |
| 17 |
|
| 18 |
`zypper install kiwi` |
| 19 |
|
| 20 |
Create destination directory, where image will be build |
| 21 |
|
| 22 |
`mkdir /tmp/openSUSE-Leap-42.1-JeOS-for-OpenStack-Magnum-K8s` |
| 23 |
|
| 24 |
## Build image |
| 25 |
|
| 26 |
Run in current directory with `openSUSE-Leap-42.1-JeOS-for-OpenStack-Magnum-K8s` kiwi template |
| 27 |
|
| 28 |
`kiwi --verbose 3 --logfile terminal --build . --destdir /tmp/openSUSE-Leap-42.1-JeOS-for-OpenStack-Magnum-K8s` |
| 29 |
|
| 30 |
## Get image |
| 31 |
|
| 32 |
After `kiwi` will finish, image can be found in `/tmp/openSUSE-Leap-42.1-JeOS-for-OpenStack-Magnum-K8s` |
| 33 |
directory with name `openSUSE-Leap-42.1-JeOS-for-OpenStack-Magnum-K8s.x86_64-1.1.1.qcow2`. |
| 34 |
|
| 35 |
Full path |
| 36 |
|
| 37 |
`/tmp/openSUSE-Leap-42.1-JeOS-for-OpenStack-Magnum-K8s/openSUSE-Leap-42.1-JeOS-for-OpenStack-Magnum-K8s.x86_64-1.1.1.qcow2` |
| 38 |
|
| 39 |
Have fun !!! |