/etc/udev/rules.d/99-azure-product-uuid.rules is in walinuxagent 2.2.32-0ubuntu1~16.04.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | SUBSYSTEM!="dmi", GOTO="product_uuid-exit"
ATTR{sys_vendor}!="Microsoft Corporation", GOTO="product_uuid-exit"
ATTR{product_name}!="Virtual Machine", GOTO="product_uuid-exit"
TEST!="/sys/devices/virtual/dmi/id/product_uuid", GOTO="product_uuid-exit"
RUN+="/bin/chmod 0444 /sys/devices/virtual/dmi/id/product_uuid"
LABEL="product_uuid-exit"
|