22# ##############################################################################
33# Configuration of Glance software images.
44
5+ # List of additional host packages.
6+ os_images_package_dependencies_extra :
7+ # debootstrap is required to build ubuntu-minimal images.
8+ - debootstrap
9+
10+ # Drop cloud-init and stable-interface-names from default elements.
11+ os_images_common : enable-serial-console
12+
13+ # Set this to true to force rebuilding images.
14+ os_images_force_rebuild : false
15+
516# List of Glance images. Format is as required by the stackhpc.os-images role.
617openstack_images :
718 - " {{ openstack_image_centos_stream8 }}"
19+ - " {{ openstack_image_rocky8 }}"
20+ - " {{ openstack_image_ubuntu_focal }}"
821
22+ # CentOS Stream 8.
923openstack_image_centos_stream8 :
1024 name : " CentOS-stream8"
1125 type : raw
@@ -25,16 +39,59 @@ openstack_image_centos_stream8:
2539 os_type : " linux"
2640 os_distro : " centos"
2741 os_version : " 8-stream"
42+ hw_rng_model : " virtio"
2843
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"
44+ # Rocky Linux 8.
45+ openstack_image_rocky8 :
46+ name : " Rocky8"
47+ type : raw
48+ elements :
49+ - " rocky-container"
50+ - " cloud-init"
51+ - " epel"
52+ - " selinux-permissive"
53+ - " dhcp-all-interfaces"
54+ - " vm"
55+ - " grub2"
56+ - " stable-interface-names"
57+ - " openssh-server"
58+ is_public : True
59+ packages :
60+ - bash-completion
61+ - vim-enhanced
62+ env :
63+ YUM : dnf
64+ DIB_CONTAINERFILE_RUNTIME : docker
65+ DIB_CONTAINERFILE_RUNTIME_ROOT : 1
66+ DIB_RELEASE : " 8"
67+ properties :
68+ os_type : " linux"
69+ os_distro : " rocky"
70+ os_version : " 8"
71+ hw_rng_model : " virtio"
3572
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 }}"
73+ # Ubuntu Focal 20.04.
74+ openstack_image_ubuntu_focal :
75+ name : " Ubuntu-20.04"
76+ type : raw
77+ is_public : True
78+ elements :
79+ - " cloud-init"
80+ - " cloud-init-datasources"
81+ - " dhcp-all-interfaces"
82+ - " grub2"
83+ - " openssh-server"
84+ - " ubuntu-minimal"
85+ - " vm"
86+ packages :
87+ - bash-completion
88+ - debootstrap
89+ - vim
90+ properties :
91+ os_type : " linux"
92+ os_distro : " ubuntu"
93+ os_version : " focal"
94+ hw_rng_model : " virtio"
95+ env :
96+ DIB_RELEASE : " focal"
97+ DIB_CLOUD_INIT_DATASOURCES : " ConfigDrive"
0 commit comments