]> git.proxmox.com Git - pve-installer.git/commit
low-level: add dump-udev command
authorAaron Lauterer <a.lauterer@proxmox.com>
Wed, 17 Apr 2024 12:30:38 +0000 (14:30 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Apr 2024 12:31:37 +0000 (14:31 +0200)
commit74e54c4d8d865994913ef487f2e7f5117bb86929
treeb7b96dc7a931c95f4dc9a7a45ac2c7b964142b56
parentbbaade7b58ea17f315da6f580ebd4278fb7c845b
low-level: add dump-udev command

Fetches UDEV device properties prepended with 'E:' for NICs and disks.
The result is stored in its own JSON file.

This information is needed to filter for specific devices. Mainly for
the auto-installer for now.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Co-authored-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
 [ TL: rework Udev module to avoid external dependencies, keep those
   in the Sys modules ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Proxmox/Makefile
Proxmox/Sys/Block.pm
Proxmox/Sys/Net.pm
Proxmox/Sys/Udev.pm [new file with mode: 0644]
proxmox-low-level-installer