From c00e11ee8fa3fb8cde7dc572e03ade425dfc9cd3 Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Wed, 30 Jan 2019 14:12:37 -0500 Subject: [PATCH] rootfs symlink is created when realm is started so remove this check --- citadel-realms/src/manager.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/citadel-realms/src/manager.rs b/citadel-realms/src/manager.rs index c512aee..53fc0c5 100644 --- a/citadel-realms/src/manager.rs +++ b/citadel-realms/src/manager.rs @@ -89,11 +89,6 @@ impl RealmManager { warn!("ignoring directory in realm storage which has invalid realm name: {}", realm_name); return Ok(()) } - let rootfs = path.join("rootfs"); - if !rootfs.exists() { - warn!("realm directory {} does not have a rootfs, ignoring", path.display()); - return Ok(()) - } match Realm::new(realm_name, self.symlinks.clone(), self.network.clone()) { Ok(realm) => { self.add_realm_entry(realm);} ,