diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-07-25 12:40:13 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-07-25 13:29:25 +0300 |
commit | 30b44cfbf68222a0fa51dda602b1945ae9722b48 (patch) | |
tree | 997410c1feaed3235d9cac58b5c84997b9165413 /src | |
parent | 5273902546d606f5c2acc165aafd1507ecc9a221 (diff) | |
download | vmadm-30b44cfbf68222a0fa51dda602b1945ae9722b48.tar.gz |
feat: debug log networks list, to be added to VM
Sponsored-by: author
Diffstat (limited to 'src')
-rw-r--r-- | src/install.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/install.rs b/src/install.rs index c84f30a..149c917 100644 --- a/src/install.rs +++ b/src/install.rs @@ -6,6 +6,7 @@ use crate::cloudinit::{CloudInitConfig, CloudInitError}; use crate::image::VirtualMachineImage; +use log::debug; use std::path::{Path, PathBuf}; use std::process::Command; use std::result::Result; @@ -114,6 +115,7 @@ pub fn virt_install(args: &VirtInstallArgs, iso: &Path) -> Result<PathBuf, VirtI .map(|s| format!("--network={}", s)) .collect() }; + debug!("virt-install networks: {:?}", networks); let r = Command::new("virt-install") .arg("--name") |