Describe the bug
I tried to work Amazon Linux 2023 OVA on VirtualBox 7.1.4 (host: Win11 24H2 64bit), created seed.iso image file which contains meta-data (localhost: xxx) and user-data (see below).
- meta-data : cloud-init picked up successfully. After 1st boot, hostname are shown in console what I set in meta-data.
- user-data: not work. I couldn't login from console for ec2-user and password what I set in user-data
chpasswd.
To Reproduce
Steps to reproduce the behavior:
- download https://cdn.amazonlinux.com/al2023/os-images/2023.6.20241212.0/vmware/al2023-vmware_esx-2023.6.20241212.0-kernel-6.1-x86_64.xfs.gpt.ova
tar xf al2023-vmware_esx-2023.6.20241212.0-kernel-6.1-x86_64.xfs.gpt.ova -> al2023-vmware_esx-2023.6.20241121.0-kernel-6.1-x86_64.xfs.gpt-disk1.vmdk extracted.
- on another linux machine, create
seedconfig dir, add meta-data which contains local-hostname: my-al202301.localdomain, add user-data which contains these lines:
users:
- default
- name: ec2-user
chpasswd:
expire: false
list: |
ec2-user:amazon
$ mkisofs -output seed.iso -volid cidata -joliet -rock user-data meta-data
- copy seed.iso to VirtualBox host
- create VirtualBox VM
- Type: Linux
- Subtype: Fedora
- Version: Fedora (64-bit)
- Memory: 4096MB
- Processors: 2
- IDE: seed.iso (CD-ROM)
- SATA: al2023-vmware_esx-2023.6.20241121.0-kernel-6.1-x86_64.xfs.gpt-disk1.vmdk
- start VM
- after boot, login console shown.
- hostname is what I set in
meta-data file, my-al202301 -> OK.
- but ec2-user:amazon login failed.

I changed IDE to SATA for seed.iso storage type, but result was same.
Expected behavior
ec2-user:amazon login should be success .
Desktop (please complete the following information):
- OS: Windows11Pro
- Version 24H2, 64bit
- VirtualBox: 7.1.4, 64bit
Reference
Describe the bug
I tried to work Amazon Linux 2023 OVA on VirtualBox 7.1.4 (host: Win11 24H2 64bit), created seed.iso image file which contains meta-data (
localhost: xxx) and user-data (see below).chpasswd.To Reproduce
Steps to reproduce the behavior:
tar xf al2023-vmware_esx-2023.6.20241212.0-kernel-6.1-x86_64.xfs.gpt.ova->al2023-vmware_esx-2023.6.20241121.0-kernel-6.1-x86_64.xfs.gpt-disk1.vmdkextracted.seedconfigdir, addmeta-datawhich containslocal-hostname: my-al202301.localdomain, adduser-datawhich contains these lines:$ mkisofs -output seed.iso -volid cidata -joliet -rock user-data meta-datameta-datafile,my-al202301-> OK.I changed IDE to SATA for seed.iso storage type, but result was same.
Expected behavior
ec2-user:amazon login should be success .
Desktop (please complete the following information):
Reference
NoCloud (seed.iso) cloud-init configuration for Amazon Linux 2023 on KVM and VMware - Amazon Linux 2023