Azure / azure-init

A minimal provisioning agent designed for Azure Linux VMs.
MIT License
7 stars 10 forks source link

libazureinit: get mounted CDROM device at runtime #79

Closed dongsupark closed 3 months ago

dongsupark commented 3 months ago

Get mounted device name of CDROM at runtime, instead of hard-coding /dev/sr0.

Fixes https://github.com/Azure/azure-init/issues/66

Testing done

TBD

dongsupark commented 3 months ago

CI fails because the block-utils crate depends on libudev-dev package, which is not installed by Default on the default Ubuntu runner. actions-rs cargo repo is meanwhile archived, so not likely to support such a feature. Will look into the path forwards tomorrow.

dongsupark commented 3 months ago

Fixed the CI issue, it was easier than expected.

dongsupark commented 3 months ago

Fixed a syntax error in clippy-linting, which was made by https://github.com/Azure/azure-init/pull/78.