Build debian bookworm images
Release is done, mirror is in place, ready to go. Adopt using systemd-timesyncd like we do for recent Ubuntu releases. Change-Id: I3fbdc151177bf2dba81920a4a2e3966f271b50ad
This commit is contained in:
parent
d00d74b6e8
commit
4c16313ad2
@ -11,6 +11,12 @@
|
||||
"iptables": "iptables-services"
|
||||
}
|
||||
},
|
||||
"debian": {
|
||||
"bookworm": {
|
||||
"ntp": "",
|
||||
"ntpdate": ""
|
||||
}
|
||||
},
|
||||
"rocky": {
|
||||
"8": {
|
||||
"ntp": "chrony",
|
||||
|
@ -12,8 +12,8 @@ case "$DIB_INIT_SYSTEM" in
|
||||
exit 0
|
||||
;;
|
||||
systemd)
|
||||
# stick with default systemd timesyncd on focal and beyond
|
||||
if [[ ":focal: :jammy:" =~ :${DIB_RELEASE}: ]]; then
|
||||
# stick with default systemd timesyncd on bookworm, focal and beyond
|
||||
if [[ ":bookworm: :focal: :jammy:" =~ :${DIB_RELEASE}: ]]; then
|
||||
exit 0
|
||||
elif [[ $DISTRO_NAME = "ubuntu" || $DISTRO_NAME = "debian" ]]; then
|
||||
systemctl enable ntp.service
|
||||
|
@ -41,6 +41,14 @@ providers:
|
||||
os_command_line: "console=ttyAMA0"
|
||||
hw_disk_bus: scsi
|
||||
hw_scsi_model: virtio-scsi
|
||||
- name: debian-bookworm-arm64
|
||||
pause: false
|
||||
config-drive: true
|
||||
meta:
|
||||
hw_firmware_type: uefi
|
||||
os_command_line: "console=ttyAMA0"
|
||||
hw_disk_bus: scsi
|
||||
hw_scsi_model: virtio-scsi
|
||||
- name: debian-bullseye-arm64
|
||||
pause: false
|
||||
config-drive: true
|
||||
@ -155,6 +163,9 @@ diskimages:
|
||||
|
||||
############ Debian #############
|
||||
|
||||
- name: debian-bookworm
|
||||
elements: []
|
||||
|
||||
- name: debian-buster
|
||||
elements: []
|
||||
|
||||
@ -219,6 +230,14 @@ diskimages:
|
||||
DIB_DISTRIBUTION_MIRROR: 'https://mirror.regionone.linaro.opendev.org/ubuntu-ports'
|
||||
DIB_DEBIAN_COMPONENTS: 'main,universe'
|
||||
|
||||
- name: debian-bookworm-arm64
|
||||
parent: base-debuntu
|
||||
elements:
|
||||
- debian-minimal
|
||||
release: bookworm
|
||||
env-vars:
|
||||
DIB_DISTRIBUTION_MIRROR: 'https://mirror.regionone.linaro.opendev.org/debian'
|
||||
|
||||
- name: debian-bullseye-arm64
|
||||
parent: base-debuntu
|
||||
python-path: /usr/bin/python3
|
||||
|
@ -23,6 +23,8 @@ providers:
|
||||
config-drive: true
|
||||
- name: centos-9-stream
|
||||
config-drive: true
|
||||
- name: debian-bookworm
|
||||
config-drive: true
|
||||
- name: debian-bullseye
|
||||
config-drive: true
|
||||
- name: debian-buster
|
||||
@ -203,6 +205,37 @@ diskimages:
|
||||
|
||||
############ Debian #############
|
||||
|
||||
- name: debian-bookworm
|
||||
parent: base-debuntu
|
||||
pause: false
|
||||
elements:
|
||||
- debian-minimal
|
||||
- cache-devstack
|
||||
release: bookworm
|
||||
env-vars:
|
||||
DIB_DISTRIBUTION_MIRROR: 'https://mirror.dfw.rax.opendev.org/debian'
|
||||
DIB_DEBIAN_SECURITY_MIRROR:
|
||||
'https://mirror.dfw.rax.opendev.org/debian-security'
|
||||
DIB_BLOCK_DEVICE_CONFIG: |
|
||||
# Default single partition loopback
|
||||
- local_loop:
|
||||
name: image0
|
||||
|
||||
- partitioning:
|
||||
base: image0
|
||||
label: mbr
|
||||
partitions:
|
||||
- name: root
|
||||
flags: [ boot, primary ]
|
||||
size: 100%
|
||||
mkfs:
|
||||
mount:
|
||||
mount_point: /
|
||||
fstab:
|
||||
options: "defaults,nobarrier,noatime"
|
||||
fsck-passno: 1
|
||||
|
||||
|
||||
- name: debian-buster
|
||||
parent: base-debuntu
|
||||
pause: false
|
||||
|
Loading…
Reference in New Issue
Block a user