[Bug] - user-data in seed.iso does not work (both IDE/SATA) on VirtualBox VM using OVA VMDK #868
Replies: 4 comments 2 replies
-
@msakamoto-sf the first line of your
Output of your user-data validation:
|
Beta Was this translation helpful? Give feedback.
-
Note that as per https://docs.aws.amazon.com/linux/al2023/ug/outside-ec2-supported-configurations.html we do not support VirtualBox at this time. Thus, I'm going to move this issue to a Discussion rather than issue. |
Beta Was this translation helpful? Give feedback.
-
@msakamoto-sf it should work okay with |
Beta Was this translation helpful? Give feedback.
-
adding #cloud-config SOLVE PROBLEM !!
this works. Sorry, this is my missunderstanding. |
Beta Was this translation helpful? Give feedback.
-
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.vmdk
extracted.seedconfig
dir, addmeta-data
which containslocal-hostname: my-al202301.localdomain
, adduser-data
which contains these lines:$ mkisofs -output seed.iso -volid cidata -joliet -rock user-data meta-data
meta-data
file,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
Beta Was this translation helpful? Give feedback.
All reactions