diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-07-25 10:45:27 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-07-25 11:44:44 +0300 |
commit | 40f951a3adbbba94942e007434946a2192eb8989 (patch) | |
tree | 47653653c827b3899d95a4bf37e8ce5d528c02ff /src/config.rs | |
parent | be53a50f86c3f9dcbc003d2ced9824829ee81f19 (diff) | |
download | vmadm-40f951a3adbbba94942e007434946a2192eb8989.tar.gz |
feat: allow use to add a VM on virtual networks
Sponsored-by: author
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index 7a38942..4786bdb 100644 --- a/src/config.rs +++ b/src/config.rs @@ -29,6 +29,9 @@ pub struct Configuration { /// Should new VM be started automatically on host boot? pub default_autostart: Option<bool>, + /// List of default networks to add to hosts. + pub default_networks: Option<Vec<String>>, + /// Directory where new VM images should be created, if given. pub image_directory: Option<PathBuf>, |