fix: added new direct drivers for network volumes#92
Draft
tonycoco wants to merge 1 commit into
Draft
Conversation
674c311 to
8c7265e
Compare
8c7265e to
e8387be
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Compose support for Apple
containerSMB/CIFS/NFS named volumes, plus ahelper script for swapping the guest kernel used during SMB/NFS testing.
Dependency features from pending PR:
Already merged PRs upstream:
Changes
ClientVolume.createvolumes.<name>.namedriver: smbdriver: nfstype: cifsortype: smb->driver: smbtype: nfs->driver: nfsdevice->shareooptions -> driver option key/value pairsnolock/mfsymlinks-> empty-value driver optionscompose upbefore starting services if volume creation fails or anexisting volume has mismatched driver/options
normalization
scripts/setup-container-kernel.shfor guest-kernel swaps when testingApple
containerSMB/NFS supportapple/ containerizationKernel Helper
Example:
The script validates the kernel binary, prints the configured kernel path before/
after, installs it with container system kernel set
--binary, passes through--force, restarts Apple container services by default, and supports--dry-run/--skip-restart.SMB-Ready Kernel Build
SMB/CIFS mounts require a guest kernel with CIFS support enabled. apple/
containerization#681 enables CIFS in kernel/config-arm64, and Kata’s common
filesystem fragment also includes CIFS support.
The resulting kernel is:
Install it with: