[Bug 2063813] Re: cloud-init schema validation failure for: 'broadcast' (24.04)
Raymond van der velden
2063813 at bugs.launchpad.net
Fri Apr 26 14:08:48 UTC 2024
related to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2056460
https://bugs.launchpad.net/subiquity/+bug/2062988
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2063813
Title:
cloud-init schema validation failure for: 'broadcast' (24.04)
Status in cloud-init package in Ubuntu:
New
Status in subiquity package in Ubuntu:
New
Bug description:
When installing the LTS of ubuntu 24.04,
I am getting the :"cloud-init schema validation failure for: 'broadcast'' error.
from the 'extract_autoinstall' function.
however when running: cloud-init schema -c /var/lib/cloud/instance/cloud-config.txt
I am getting a valid return.
My identical cloud-init configuration applied to 22.04 successfully.
I am not trying to do anything custom to the broadcast address.
This is my cloud init:
#cloud-config
chpasswd:
expire: false
list:
- installer:$somereallylonghashpassword
write_files:
- path: /etc/ssh/sshd_not_to_be_run
content: ""
autoinstall:
version: 1
proxy: http://172.16.100.2:3142/
apt:
preserve_sources_list: false
primary:
- arches:
- default
uri: http://nl.archive.ubuntu.com/ubuntu/
disable_suites: [backports]
disable_components: [multiverse]
storage:
layout:
name: direct
match:
path: $WSBOOTDEV
ssh:
install-server: true
allow-pw: true
debconf-selections: |
popularity-contest popularity-contest/participate boolean false
network:
ethernets:
$bootif:
addresses:
- 127.0.0.2/24
match:
macaddress: 22:22:33:44:55:66
nameservers:
addresses:
- 172.16.100.3
routes:
- to: default
via: 127.0.0.1
accept-ra: false
version: 2
early-commands:
- |
FIRSTPCI=$({ cd /dev/disk/by-path/
ls | grep nvme | head -1
ls | grep sas | head -1
ls | grep scsi | grep -v usb | head -1
ls | grep ata | head -1
} | head -1)
WSBOOTDEV="$(readlink -f /dev/disk/by-path/$FIRSTPCI)"
sed -i "s|\$WSBOOTDEV|$WSBOOTDEV|" /autoinstall.yaml
updates: all
late-commands:
- rm /target/etc/apt/apt.conf.d/*proxy* /target/etc/systemd/system/snapd.service.d/*proxy*
- sed -i -E 's/^#?PermitRootLogin [[:alpha:]]+-password/PermitRootLogin yes/' /target/etc/ssh/sshd_config
- sed -i -E 's/^(GRUB_CMDLINE_LINUX_DEFAULT=)"(.+)"$/\1"\2 ipv6.autoconf=0"/g' /target/etc/default/grub
- curtin in-target --target /target update-grub2
user-data:
users: []
hostname: NLDW3-3-03-15
chpasswd:
expire: false
list:
- root:$somereallylonghashpassword
timezone: Europe/Amsterdam
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2063813/+subscriptions
More information about the foundations-bugs
mailing list