systemd is not an option anymore

This commit is contained in:
Bruce Leidl 2019-09-23 15:20:57 -04:00
parent 0a06043e32
commit 6c25ccb226

View File

@ -14,7 +14,6 @@ pub struct VmConfig {
wayland: bool,
dmabuf: bool,
home: String,
launch_systemd: bool,
kernel_path: Option<PathBuf>,
init_path: Option<PathBuf>,
init_cmd: Option<String>,
@ -97,11 +96,6 @@ impl VmConfig {
self
}
pub fn use_systemd(mut self) -> Self {
self.launch_systemd = true;
self
}
pub fn synthetic_fs(mut self, sfs: SyntheticFS) -> Self {
self.synthetic = Some(sfs);
self
@ -139,10 +133,6 @@ impl VmConfig {
&self.home
}
pub fn launch_systemd(&self) -> bool {
self.launch_systemd
}
pub fn has_block_image(&self) -> bool {
!(self.realmfs_images.is_empty() && self.raw_disks.is_empty())
}