Start bulding ubuntu-jammy images

Jammy was released yesterday, we can start building images for it.

Change-Id: I5fd16df8bf0e3b74711875ad0573be69db12791b
This commit is contained in:
Dr. Jens Harbott 2022-04-22 14:48:54 +02:00
parent 6c82b06b85
commit f5b01d71b7
3 changed files with 23 additions and 5 deletions

View File

@ -26,6 +26,11 @@
"ntp": "",
"ntpdate": "",
"python-dev": ""
},
"jammy": {
"ntp": "",
"ntpdate": "",
"python-dev": ""
}
}
},

View File

@ -12,11 +12,11 @@ case "$DIB_INIT_SYSTEM" in
exit 0
;;
systemd)
if [[ $DISTRO_NAME = "ubuntu" || $DISTRO_NAME = "debian" ]]; then
# stick with default systemd timesyncd on focal
if [[ ${DIB_RELEASE} != 'focal' ]]; then
systemctl enable ntp.service
fi
# stick with default systemd timesyncd on focal and beyond
if [[ ":focal: :jammy:" =~ :${DIB_RELEASE}: ]]; then
exit 0
elif [[ $DISTRO_NAME = "ubuntu" || $DISTRO_NAME = "debian" ]]; then
systemctl enable ntp.service
elif [[ ( $DISTRO_NAME == "centos" && $DIB_RELEASE > 7 ) || $DISTRO_NAME == "fedora" || $DISTRO_NAME == "rocky" ]]; then
systemctl enable chronyd
else

View File

@ -39,6 +39,8 @@ providers:
config-drive: true
- name: ubuntu-focal
config-drive: true
- name: ubuntu-jammy
config-drive: true
- name: ubuntu-xenial
config-drive: true
- name: openEuler-20-03-LTS-SP2
@ -307,6 +309,17 @@ diskimages:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.opendev.org/ubuntu'
DIB_DEBIAN_COMPONENTS: 'main,universe'
- name: ubuntu-jammy
parent: base-debuntu
pause: false
elements:
- ubuntu-minimal
- cache-devstack
release: jammy
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.opendev.org/ubuntu'
DIB_DEBIAN_COMPONENTS: 'main,universe'
- name: ubuntu-xenial
parent: base-debuntu
pause: false