From 1fb3f2b4716c15c029c035f3f67ebc64ca5f529b Mon Sep 17 00:00:00 2001 From: Ritika Chopra Date: Mon, 20 Jul 2026 23:22:58 -0700 Subject: T8329: Make the Azure VF-naming helper script 'vyos_vf_name' available in initramfs so that VFs with add events appearing in early stage can be renamed using this script --- .../includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons b/data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons index 58b6ed13..39c8b202 100755 --- a/data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons +++ b/data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons @@ -33,6 +33,10 @@ copy_exec /usr/sbin/fsck.ext2 copy_exec /usr/sbin/fsck.ext3 copy_exec /usr/sbin/fsck.ext4 +# Azure VF helper used by udev rule 63-hyperv-vf-net.rules. It must be +# present in initramfs so early VF add events can be renamed to vf_ethN. +copy_exec /lib/udev/vyos_vf_name + # copy other files ("other" here is a file type, so do not delete this keyword) copy_file other /etc/ssl/certs/ca-certificates.crt copy_file other /etc/ssl/openssl.cnf -- cgit v1.2.3