-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Description
When testing #92 on Azure Linux 3.0, azure-init encounters an issue attempting to retrieve block devices using media::get_environment(). This causes azure-init to report an error and exit pre-maturely.
Impact
This is part of work to get azure-init supported on Azure Linux 3.0 (as well as many other distros)
Environment and steps to reproduce
- Set-up:
Boot an Azure Linux 3.0 VM, if you need an image, please reach out.
- Action(s):
tdnf install libudev-devel git -y
git clone https://github.com/SeanDougherty/azure-init.git
cd azure-init
git checkout azl
cargo build --all
./target/debug/azure-init
- Error:
Unable to get list of block devices
Expected behavior
Azure-init can get a mountable device for its use.
Additional information
I explored more in my branch, and I can see that there are devices available, they just might not be CDROM devices. (See photo)

For reference, this JSON is the configuration file used by AzL build tools to compose the image. You can see the devices enumerated under Disks:.