Not ideal, but for basic resizing on linux VMs the following snippet dropped as /etc/udev/rules.d/90-diskresize.rules works for me:
SUBSYSTEM!="block", GOTO="oneend"
ACTION=="change", GOTO="onediskresize"
GOTO="oneend"
LABEL="onediskresize"
ENV{PATH}="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
PROGRAM!="/etc/one-context.d/loc-05-grow-rootfs", GOTO="oneend"
LABEL="oneend"
It is a little bit weird but crafted this way works on the udev implementations I hit.
Best Regards,
Anton Todorov