Delete VNC socket file when deleting domain
This commit is contained in:
@ -172,6 +172,11 @@ impl AppConfig {
|
||||
self.storage_path().join("vnc")
|
||||
}
|
||||
|
||||
/// Get VM vnc sockets path for domain
|
||||
pub fn vnc_socket_for_domain(&self, name: &str) -> PathBuf {
|
||||
self.vnc_sockets_path().join(format!("vnc-{}", name))
|
||||
}
|
||||
|
||||
/// Get VM vnc sockets directory
|
||||
pub fn disks_storage_path(&self) -> PathBuf {
|
||||
self.storage_path().join("disks")
|
||||
|
Reference in New Issue
Block a user