2
2
# ##############################################################################
3
3
# Configuration of Glance software images.
4
4
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
+
5
11
# List of Glance images. Format is as required by the stackhpc.os-images role.
6
12
openstack_images :
7
13
- " {{ openstack_image_centos_stream8 }}"
14
+ - " {{ openstack_image_rocky8 }}"
15
+ - " {{ openstack_image_ubuntu_focal }}"
8
16
17
+ # CentOS Stream 8.
9
18
openstack_image_centos_stream8 :
10
19
name : " CentOS-stream8"
11
20
type : raw
@@ -25,16 +34,57 @@ openstack_image_centos_stream8:
25
34
os_type : " linux"
26
35
os_distro : " centos"
27
36
os_version : " 8-stream"
37
+ hw_rng_model : " virtio"
28
38
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"
35
65
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