Skip to content

Commit 0f03d0a

Browse files
authored
Merge pull request #1249 from ritika0313/T8329-vb-initramfs-for-vf-naming
T8329: Make the Azure VF-naming helper script 'vyos_vf_name' available in initramfs
2 parents b27468d + 1fb3f2b commit 0f03d0a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • data/live-build-config/includes.chroot/etc/initramfs-tools/hooks

data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ copy_exec /usr/sbin/fsck.ext2
3333
copy_exec /usr/sbin/fsck.ext3
3434
copy_exec /usr/sbin/fsck.ext4
3535

36+
# Azure VF helper used by udev rule 63-hyperv-vf-net.rules. It must be
37+
# present in initramfs so early VF add events can be renamed to vf_ethN.
38+
copy_exec /lib/udev/vyos_vf_name
39+
3640
# copy other files ("other" here is a file type, so do not delete this keyword)
3741
copy_file other /etc/ssl/certs/ca-certificates.crt
3842
copy_file other /etc/ssl/openssl.cnf

0 commit comments

Comments
 (0)