Skip to content

Commit 2d5a390

Browse files
committed
Add Rocky Linux 8 and Ubuntu Focal to example images
1 parent 0fc2789 commit 2d5a390

File tree

1 file changed

+61
-11
lines changed

1 file changed

+61
-11
lines changed

examples/images.yml

Lines changed: 61 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,19 @@
22
###############################################################################
33
# Configuration of Glance software images.
44

5+
# Drop cloud-init and stable-interface-names from default elements.
6+
os_images_common: enable-serial-console
7+
8+
# Set this to true to force rebuilding images.
9+
os_images_force_rebuild: false
10+
511
# List of Glance images. Format is as required by the stackhpc.os-images role.
612
openstack_images:
713
- "{{ openstack_image_centos_stream8 }}"
14+
- "{{ openstack_image_rocky8 }}"
15+
- "{{ openstack_image_ubuntu_focal }}"
816

17+
# CentOS Stream 8.
918
openstack_image_centos_stream8:
1019
name: "CentOS-stream8"
1120
type: raw
@@ -25,16 +34,57 @@ openstack_image_centos_stream8:
2534
os_type: "linux"
2635
os_distro: "centos"
2736
os_version: "8-stream"
37+
hw_rng_model: "virtio"
2838

29-
# List of Diskimage Builder (DIB) elements paths to include in image builds.
30-
openstack_image_elements:
31-
- "{{ openstack_image_stackhpc_elements }}/elements"
32-
33-
# This creates a git checkout in the local user's home directory
34-
openstack_image_stackhpc_elements: "{{ ansible_env.PWD }}/stackhpc-image-elements"
39+
# Rocky Linux 8.
40+
openstack_image_rocky8:
41+
name: "Rocky8"
42+
type: raw
43+
elements:
44+
- "rocky-container"
45+
- "cloud-init"
46+
- "epel"
47+
- "selinux-permissive"
48+
- "dhcp-all-interfaces"
49+
- "vm"
50+
- "grub2"
51+
- "stable-interface-names"
52+
- "openssh-server"
53+
is_public: True
54+
packages:
55+
- bash-completion
56+
- vim-enhanced
57+
env:
58+
YUM: dnf
59+
DIB_RELEASE: "8"
60+
properties:
61+
os_type: "linux"
62+
os_distro: "rocky"
63+
os_version: "8"
64+
hw_rng_model: "virtio"
3565

36-
# List of Diskimage Builder (DIB) elements Git repositories to use in image
37-
# builds.
38-
openstack_image_git_elements:
39-
- repo: "https://github.com/stackhpc/stackhpc-image-elements.git"
40-
local: "{{ openstack_image_stackhpc_elements }}"
66+
# Ubuntu Focal 20.04.
67+
openstack_image_ubuntu_focal:
68+
name: "Ubuntu-20.04"
69+
type: raw
70+
is_public: True
71+
elements:
72+
- "cloud-init"
73+
- "cloud-init-datasources"
74+
- "dhcp-all-interfaces"
75+
- "grub2"
76+
- "openssh-server"
77+
- "ubuntu-minimal"
78+
- "vm"
79+
packages:
80+
- bash-completion
81+
- debootstrap
82+
- vim
83+
properties:
84+
os_type: "linux"
85+
os_distro: "ubuntu"
86+
os_version: "focal"
87+
hw_rng_model: "virtio"
88+
env:
89+
DIB_RELEASE: "focal"
90+
DIB_CLOUD_INIT_DATASOURCES: "ConfigDrive"

0 commit comments

Comments
 (0)