Project

General

Profile

OpenNebula image management » History » Version 2

Timothée Floure, 02/19/2020 09:16 AM
Add Ubuntu and Alpine images entries

1 1 Timothée Floure
h1. OpenNebula image management
2
3
h2. Images
4
5
We build our own images for the following distributions:
6
7
* "Fedora >= 31":https://getfedora.org/: fedora-build-opennebula-image.sh in "ungleich-tools":https://code.ungleich.ch/ungleich-public/ungleich-tools
8
  - Runs on a Fedora Host.
9
  - Outputs a qcow2 file.
10
* "CentOS >= 8":https://www.centos.org/: centos-build-opennebula-image.sh in "ungleich-tools":https://code.ungleich.ch/ungleich-public/ungleich-tools
11
  - Runs on a CentOS or Fedora host (with CentOS repositories imported by hand).
12
  - Outputs a raw file.
13 2 Timothée Floure
* "Ubuntu >= 19.10":https://ubuntu.com/: ubuntu-build-opennebula-image.sh in "ungleich-tools":https://code.ungleich.ch/ungleich-public/ungleich-tools
14
  - Runs on an Ubuntu Host.
15
  - Outputs a qcow2 file.
16
* "Alpine >= 3.11":https://alpinelinux.org/: alpine-build-opennebula-image.sh in "ungleich-tools":https://code.ungleich.ch/ungleich-public/ungleich-tools
17
  - Runs on an Alpine Host.
18
  - Outputs a qcow2 file.
19 1 Timothée Floure
20
FIXME: other images? Are they provided by the OpenNebula project?
21
22
h2. Tasks
23
24
h3. Deploying a new image
25
26
* Upload Qcow2 or raw image to server1.place5.ungleich.ch:/var/tmp/one-staging/ (you can use "scp(1)":https://linux.die.net/man/1/scp).
27
* Create a new image on "OpenNebula Sunstone":https://opennebula.ungleich.ch/.
28
  - Left sidebar > Storage > Images > "+" Icon > Create
29
    - Type: Operating System
30
    - Permanent: No
31
    - Image Location > Path in OpenNebula server: /var/tmp/one-staging/my-image.img
32
  - Once created, open image entry and set Use permission to Owner+Group+Other.
33
* Create or edit exiting Template on "OpenNebula Sunstone":https://opennebula.ungleich.ch/.
34
  - Left sidebar > Templates > VMs
35
    - Create new template OR duplicate-then-edit template OR edit existing template.
36
* Instantiate new VM on "OpenNebula Sunstone":https://opennebula.ungleich.ch/.
37
  - Left sidebar > Instances > VMs > "+" Icon.