diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-08-20 17:23:12 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-08-20 17:23:12 +0300 |
commit | 70506e844ea26138494f59bfc3ecec88f2464491 (patch) | |
tree | 75b207b7da4353035ff5328510d7a943185d5c52 /src/install.rs | |
parent | 3b9f7397d4116ae6f661a3d0aaf9f92937775510 (diff) | |
download | vmadm-70506e844ea26138494f59bfc3ecec88f2464491.tar.gz |
feat! add support for non-virtual networks
The virtual, libvirt-only network foo must now be specified as
network=foo, to allow a non-virtual network over a local bridge device
be specified as bridge=br0.
Sponsored-by: author
Diffstat (limited to 'src/install.rs')
-rw-r--r-- | src/install.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.rs b/src/install.rs index 17b7be8..4738855 100644 --- a/src/install.rs +++ b/src/install.rs @@ -111,7 +111,7 @@ pub fn virt_install(args: &VirtInstallArgs, iso: &Path) -> Result<PathBuf, VirtI let networks: Vec<String> = args .networks .iter() - .map(|s| format!("--network=network={}", s)) + .map(|s| format!("--network={}", s)) .collect(); args.init().create_iso(iso)?; |