Bind terminal fixture to runtime root identity
This commit is contained in:
parent
29bc02fd7b
commit
5cd0772866
1 changed files with 8 additions and 3 deletions
|
|
@ -6,9 +6,9 @@ use std::sync::{Arc, Mutex};
|
|||
|
||||
use ed25519_dalek::SigningKey;
|
||||
use lazaret_core::identity::{
|
||||
BootId, BundleDigest, ClientId, ConfigurationFingerprint, HostPath, HostPidLocator,
|
||||
NetworkSidecarId, PidfsDeviceId, PidfsInodeId, PidfsProcessAuthorityV1, ProcessStartTimeTicks,
|
||||
RequestId, SandboxId, SessionAnchorId,
|
||||
BootId, BundleDigest, ClientId, ConfigurationFingerprint, HostPath, HostPidLocator, MountId,
|
||||
MountIdentity, NetworkSidecarId, PidfsDeviceId, PidfsInodeId, PidfsProcessAuthorityV1,
|
||||
ProcessStartTimeTicks, RequestId, SandboxId, SessionAnchorId,
|
||||
};
|
||||
use lazaret_core::protocol::{VerifiedSession, encode_signed, issue_session_capability};
|
||||
use lazaret_core::records::{
|
||||
|
|
@ -94,6 +94,11 @@ impl Fixture {
|
|||
let mut sandbox = SandboxOwnership {
|
||||
container_id: Some(ContainerId::new(bytes(9))),
|
||||
runtime_root: Some(HostPath::new(b"runtime".to_vec())),
|
||||
runtime_root_identity: Some(MountIdentity {
|
||||
mount_id: MountId::new(8),
|
||||
device: DeviceId::new(9),
|
||||
inode: InodeId::new(10),
|
||||
}),
|
||||
bundle_digest: Some(BundleDigest::new(bytes(10))),
|
||||
host_coordinator: PersistedHostProcessOwnership::committed(process(70)),
|
||||
runtime_supervisor: PersistedHostProcessOwnership::unassigned(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue