Skip to content

Extract Root Filesystem Guest-side #134

@crepererum

Description

@crepererum

What

Move from host-side root file system population (esp. for Python guests) to guest-side root file system population.

Why

We currently use a rather non-standard interface to pass a TAR file from the guest to the host, which then extracts it:

root-fs-tar: func() -> option<list<u8>>;

It would be nicer if we just give the guest a read/write virtual file system so it can do that that itself. This also provides more flexibility regarding how the file system is stored (technically the guest could even fetch it from a remote source) and shrinks the possible attack surface.

How

This needs #133 first. Then move the tar extraction from the host to the guest and remove our custom WIT interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions