This file is indexed.

/usr/share/initramfs-tools/hooks/azure-resource is in walinuxagent 2.1.3-0ubuntu4.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

PREREQ="udev"

prereqs()
{
        echo "$PREREQ"
}

case $1 in
prereqs)
        prereqs
        exit 0
        ;;
esac

mkdir -p $DESTDIR/lib/udev/rules.d/
if   [ -e /etc/udev/rules.d/66-azure-storage.rules ]; then
    cp -pt "${DESTDIR}/lib/udev/rules.d" /etc/udev/rules.d/66-azure-storage.rules
elif [ -e /lib/udev/rules.d/66-azure-storage.rules ]; then
    cp -pt "${DESTDIR}/lib/udev/rules.d" /lib/udev/rules.d/66-azure-storage.rules
fi