mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 05:10:55 +00:00
hypha: disable vifs in hypha for now
This commit is contained in:
@ -15,7 +15,7 @@ use std::str::FromStr;
|
|||||||
use std::{fs, io, thread};
|
use std::{fs, io, thread};
|
||||||
use termion::raw::IntoRawMode;
|
use termion::raw::IntoRawMode;
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
use xenclient::{DomainConfig, DomainDisk, DomainNetworkInterface, XenClient};
|
use xenclient::{DomainConfig, DomainDisk, XenClient};
|
||||||
use xenstore::client::{XsdClient, XsdInterface};
|
use xenstore::client::{XsdClient, XsdInterface};
|
||||||
|
|
||||||
pub struct Controller {
|
pub struct Controller {
|
||||||
@ -121,12 +121,7 @@ impl Controller {
|
|||||||
writable: false,
|
writable: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
vifs: vec![DomainNetworkInterface {
|
vifs: vec![],
|
||||||
mac: "00:16:3E:46:0C:1B",
|
|
||||||
mtu: 1500,
|
|
||||||
bridge: "xenbr0",
|
|
||||||
script: "/etc/xen/scripts/vif-bridge",
|
|
||||||
}],
|
|
||||||
filesystems: vec![],
|
filesystems: vec![],
|
||||||
extra_keys: vec![
|
extra_keys: vec![
|
||||||
("hypha/uuid".to_string(), uuid.to_string()),
|
("hypha/uuid".to_string(), uuid.to_string()),
|
||||||
|
Reference in New Issue
Block a user