1
0
forked from brl/citadel-tools

rootfs symlink is created when realm is started so remove this check

This commit is contained in:
Bruce Leidl 2019-01-30 14:12:37 -05:00
parent 55b08fb683
commit c00e11ee8f

View File

@ -89,11 +89,6 @@ impl RealmManager {
warn!("ignoring directory in realm storage which has invalid realm name: {}", realm_name); warn!("ignoring directory in realm storage which has invalid realm name: {}", realm_name);
return Ok(()) 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()) { match Realm::new(realm_name, self.symlinks.clone(), self.network.clone()) {
Ok(realm) => { self.add_realm_entry(realm);} , Ok(realm) => { self.add_realm_entry(realm);} ,