mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-17 04:52:23 +00:00
Merge pull request #13032 from kata-containers/sprt/fix-virtiofsd-args
runtime-rs: align virtiofsd args on runtime-go
This commit is contained in:
@@ -86,10 +86,6 @@ impl ShareVirtioFsStandalone {
|
||||
String::from(shared_dir),
|
||||
String::from("--cache"),
|
||||
self.config.virtio_fs_cache.clone(),
|
||||
String::from("--sandbox"),
|
||||
String::from("none"),
|
||||
String::from("--seccomp"),
|
||||
String::from("none"),
|
||||
];
|
||||
|
||||
if !self.config.virtio_fs_extra_args.is_empty() {
|
||||
|
||||
@@ -104,8 +104,6 @@ fn virtiofsd_args(cfg: SharedFsInfo, shared_dir: &str, sock_path: &str) -> Resul
|
||||
String::from(shared_dir),
|
||||
String::from("--cache"),
|
||||
cfg.virtio_fs_cache.clone(),
|
||||
String::from("--sandbox"),
|
||||
String::from("none"),
|
||||
];
|
||||
|
||||
if !cfg.virtio_fs_extra_args.is_empty() {
|
||||
|
||||
Reference in New Issue
Block a user