Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt harder to obtain config-drive.
There are some cases where a config-drive is on the system, but not initially detected early at boot. One such case is when the cdrom subsystem isn't builtin to the kernel but enabled as a module. We can try and catch this issue. It will slow down boot a bit, so this only waits 1 second total for now. But modprobing `sr_mod` which depends on `cdrom` is a good start here, and covers obtaining the `meda_data.json` file in case a VM is booted with the -native or other non-kvm kernels.
- Loading branch information