View Issue Details

IDProjectCategoryView StatusLast Update
0008452Rocky-Linux-9cloud-initpublic2024-12-11 00:47
ReporterSteve Anderson Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSRocky LinuxOS Version9.5
Summary0008452: Nocloud cloud-init provider not working as expected in cloud images
DescriptionTo configure cloud-init we specify the seedfrom URL in the DMI serial number, as documented here: https://cloudinit.readthedocs.io/en/latest/reference/datasources/nocloud.html

This does not work anymore. The last release it worked on was Rocky 9.3.
Steps To Reproduce## clouddir/user-data
```
#cloud-config
users:
- name: foo
  sudo: ['ALL=(ALL) NOPASSWD:ALL']
  lock_passwd: false
  # bar
  passwd: $5$CuGw2/9v2uzpvkPe$pwoi8iLX52eprHWZT5k7cI/VzeQMGoAhsyu6pha4YW1
```

## clouddir/meta-data
```
platform: nocloud
local-hostname: test123
```

## clouddir/vendor-data

(empty file)

## commands
```
python3 -m http.server --directory clouddir &

qemu-system-x86_64 \
-m 4G \
-drive file=Rocky-9-GenericCloud-Base-9.5-20241118.0.x86_64.qcow2,media=disk,if=virtio \
-smbios type=1,serial=ds='nocloud-net;s=http://10.0.2.2:8000/' \
-accel kvm \
-cpu Westmere
```
Additional InformationDiscussion of others with the same problem: https://old.reddit.com/r/RockyLinux/comments/1cqpb1m/cloudinit_from_smbbios_not_working_in_newest_94/
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-12-04 11:41 Steve Anderson New Issue