systemd is not an option anymore
This commit is contained in:
parent
0a06043e32
commit
6c25ccb226
@ -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())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user