Verification logs are part of cloud-init 23.2.1 integration tests.
Attached are specific verification logs for focal, jammy, kinetic and lunar showing nocloud-net correctly detective from kernel commandline from cloud-init debs in the -proposed pocket.
Test procedure on LXD VMs:
# untestable on LXD containers, or cloud VMs because we are hijacking GRUB options to provide additional kernel params to GRUB across reboot
1. Launch a kvm instance in lxd
2. Augment GRUB_CMDLINE_LINUX= to specify ds=nocloud-net;s=<YOUR_URL_FROM_1> to specify both ds=nocloud-net and the remote seed URL containing user-data,vendor-data, meta-data
3. grub-mkconfig
4. reboot the VM
5. Confirm datasource detected is nocloud (not "none") from: cloud-init query platform
6. Confirm instance-data was pulled from the remote URL seed from: cloud-init query subplatform
#
for RELEASE in focal jammy kinetic lunar; do
CLOUD_INIT_PLATFORM=lxd_vm CLOUD_INIT_CLOUD_INIT_SOURCE=PROPOSED CLOUD_INIT_OS_IMAGE=$RELEASE tox -e integration-tests tests/integration_tests/test_kernel_commandline_match.py::test_lxd_datasource_kernel_override_nocloud_net;
done
Verification logs are part of cloud-init 23.2.1 integration tests.
Attached are specific verification logs for focal, jammy, kinetic and lunar showing nocloud-net correctly detective from kernel commandline from cloud-init debs in the -proposed pocket.
Test procedure on LXD VMs:
# untestable on LXD containers, or cloud VMs because we are hijacking GRUB options to provide additional kernel params to GRUB across reboot net;s=< YOUR_URL_ FROM_1> to specify both ds=nocloud-net and the remote seed URL containing user-data, vendor- data, meta-data
1. Launch a kvm instance in lxd
2. Augment GRUB_CMDLINE_LINUX= to specify ds=nocloud-
3. grub-mkconfig
4. reboot the VM
5. Confirm datasource detected is nocloud (not "none") from: cloud-init query platform
6. Confirm instance-data was pulled from the remote URL seed from: cloud-init query subplatform
# INIT_PLATFORM= lxd_vm CLOUD_INIT_ CLOUD_INIT_ SOURCE= PROPOSED CLOUD_INIT_ OS_IMAGE= $RELEASE tox -e integration-tests tests/integrati on_tests/ test_kernel_ commandline_ match.py: :test_lxd_ datasource_ kernel_ override_ nocloud_ net;
for RELEASE in focal jammy kinetic lunar; do
CLOUD_
done