src/bin/proxmox-backup-manager.rs: add cli to generate proxy certificate
Without calling external openssl binary.
This commit is contained in:
@ -4,7 +4,7 @@ use proxmox::api::list_subdirs_api_method;
|
||||
mod tasks;
|
||||
mod time;
|
||||
mod network;
|
||||
mod dns;
|
||||
pub mod dns;
|
||||
mod syslog;
|
||||
mod journal;
|
||||
mod services;
|
||||
|
@ -16,7 +16,7 @@ use crate::api2::types::*;
|
||||
|
||||
static RESOLV_CONF_FN: &str = "/etc/resolv.conf";
|
||||
|
||||
fn read_etc_resolv_conf() -> Result<Value, Error> {
|
||||
pub fn read_etc_resolv_conf() -> Result<Value, Error> {
|
||||
|
||||
let mut result = json!({});
|
||||
|
||||
|
Reference in New Issue
Block a user