because we will need to access them directly in the future from a separate binary
Tested-by: Christoph Heiss <c.he...@proxmox.com> Reviewed-by: Christoph Heiss <c.he...@proxmox.com> Signed-off-by: Aaron Lauterer <a.laute...@proxmox.com> --- proxmox-auto-installer/src/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxmox-auto-installer/src/utils.rs b/proxmox-auto-installer/src/utils.rs index 6101d66..ea645ad 100644 --- a/proxmox-auto-installer/src/utils.rs +++ b/proxmox-auto-installer/src/utils.rs @@ -47,7 +47,7 @@ pub fn get_network_settings( Ok(network_options) } -fn get_single_udev_index( +pub fn get_single_udev_index( filter: BTreeMap<String, String>, udev_list: &BTreeMap<String, BTreeMap<String, String>>, ) -> Result<String> { @@ -72,7 +72,7 @@ fn get_single_udev_index( Ok(dev_index.unwrap()) } -fn get_matched_udev_indexes( +pub fn get_matched_udev_indexes( filter: BTreeMap<String, String>, udev_list: &BTreeMap<String, BTreeMap<String, String>>, match_all: bool, -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel