Can create networks

This commit is contained in:
2023-10-31 09:26:42 +01:00
parent 335aec788e
commit f2237d4f2f
12 changed files with 328 additions and 65 deletions

@ -1,4 +1,4 @@
use crate::libvirt_lib_structures::DomainXMLUuid;
use crate::libvirt_lib_structures::XMLUuid;
use clap::Parser;
use std::path::{Path, PathBuf};
@ -167,7 +167,7 @@ impl AppConfig {
self.storage_path().join("disks")
}
pub fn vm_storage_path(&self, id: DomainXMLUuid) -> PathBuf {
pub fn vm_storage_path(&self, id: XMLUuid) -> PathBuf {
self.disks_storage_path().join(id.as_string())
}
}