From 98787193f57fcf7840896e14509698d8607b5239 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Thu, 1 Feb 2024 15:53:43 +0000 Subject: [PATCH] hypha: disable vifs in hypha for now --- hypha/src/ctl/mod.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/hypha/src/ctl/mod.rs b/hypha/src/ctl/mod.rs index 2eb2662..bcbf89d 100644 --- a/hypha/src/ctl/mod.rs +++ b/hypha/src/ctl/mod.rs @@ -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()),