hypha: disable vifs in hypha for now

This commit is contained in:
Alex Zenla 2024-02-01 15:53:43 +00:00
parent e73cfa92c8
commit 98787193f5
No known key found for this signature in database
GPG Key ID: 067B238899B51269

View File

@ -15,7 +15,7 @@ use std::str::FromStr;
use std::{fs, io, thread};
use termion::raw::IntoRawMode;
use uuid::Uuid;
use xenclient::{DomainConfig, DomainDisk, DomainNetworkInterface, XenClient};
use xenclient::{DomainConfig, DomainDisk, XenClient};
use xenstore::client::{XsdClient, XsdInterface};
pub struct Controller {
@ -121,12 +121,7 @@ impl Controller {
writable: false,
},
],
vifs: vec![DomainNetworkInterface {
mac: "00:16:3E:46:0C:1B",
mtu: 1500,
bridge: "xenbr0",
script: "/etc/xen/scripts/vif-bridge",
}],
vifs: vec![],
filesystems: vec![],
extra_keys: vec![
("hypha/uuid".to_string(), uuid.to_string()),