Project

General

Profile

OpenNebula image management » History » Version 1

Timothée Floure, 12/17/2019 06:08 PM
Create "OpenNebula image management" page

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
14
FIXME: other images? Are they provided by the OpenNebula project?
15
16
h2. Tasks
17
18
h3. Deploying a new image
19
20
* 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).
21
* Create a new image on "OpenNebula Sunstone":https://opennebula.ungleich.ch/.
22
  - Left sidebar > Storage > Images > "+" Icon > Create
23
    - Type: Operating System
24
    - Permanent: No
25
    - Image Location > Path in OpenNebula server: /var/tmp/one-staging/my-image.img
26
  - Once created, open image entry and set Use permission to Owner+Group+Other.
27
* Create or edit exiting Template on "OpenNebula Sunstone":https://opennebula.ungleich.ch/.
28
  - Left sidebar > Templates > VMs
29
    - Create new template OR duplicate-then-edit template OR edit existing template.
30
* Instantiate new VM on "OpenNebula Sunstone":https://opennebula.ungleich.ch/.
31
  - Left sidebar > Instances > VMs > "+" Icon.