Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alpine: avoid wiping out writable host mounts under /home, etc.
A host directory could be wiped out when all the following conditions are met: - The directory is mounted to Lima via virtiofs, or, potentially 9p - The mount is writable - The mount point in the guest is under one of: /etc /home /root /usr/local /var/lib - The guest OS is Alpine Linux Fix issue 2221 Fix rancher-sandbox/rancher-desktop issue 6582 Co-authored-by: Jan Dubois <[email protected]> Signed-off-by: Akihiro Suda <[email protected]>
- Loading branch information