proxmox-backup-manager: add network create command
This commit is contained in:
parent
3dd27a3bf8
commit
86a5d56c4e
|
@ -343,6 +343,13 @@ fn network_commands() -> CommandLineInterface {
|
|||
"changes",
|
||||
CliCommand::new(&API_METHOD_PENDING_NETWORK_CHANGES)
|
||||
)
|
||||
.insert(
|
||||
"create",
|
||||
CliCommand::new(&api2::node::network::API_METHOD_CREATE_INTERFACE)
|
||||
.fixed_param("node", String::from("localhost"))
|
||||
.arg_param(&["iface"])
|
||||
.completion_cb("iface", config::network::complete_interface_name)
|
||||
)
|
||||
.insert(
|
||||
"update",
|
||||
CliCommand::new(&api2::node::network::API_METHOD_UPDATE_INTERFACE)
|
||||
|
|
Loading…
Reference in New Issue