WALinuxAgent/module-setup.sh
Jeremy Cline 9df946ad94
Add the udev dependencies to the dracut module
This fixes the symlinks created by the Azure storage rules, which depend
on readlink and cut being present. Before this change the Fedora Cloud
image would produce a symlink at /dev/disk/azure -> /dev/sda instead of
/dev/disk/azure being a directory of symlinks to the device and any
partitions it contains.
2024-05-08 12:30:37 -04:00

17 lines
245 B
Bash

#!/usr/bin/bash
# called by dracut
check() {
return 0
}
# called by dracut
depends() {
return 0
}
# called by dracut
install() {
inst_multiple chmod cut readlink
inst_rules 66-azure-storage.rules 99-azure-product-uuid.rules
}