Skip to content

Conversation

@jandubois
Copy link
Member

@jandubois jandubois commented Mar 11, 2025

We need to do the expansion before we copy the Location over as the default MountPoint because we can't do tilde expansion for guest filenames (the existing call in cidata.go was an error).


This will need to be changed even further when we move FillDefaults to use the template embedding code: the mountpoint defaults will need to be filled in before mount entries are combined based on a shared mountpoint value. But that is not yet a concern.

@jandubois jandubois force-pushed the no-tilde-mountpoint branch 4 times, most recently from d2c0b3f to fc30873 Compare March 12, 2025 02:01
We need to do the expansion before we copy the Location
over as the default MountPoint because we can't do tilde
expansion for guest filenames (the existing call in
cidata.go was an error).

Signed-off-by: Jan Dubois <[email protected]>
@jandubois jandubois force-pushed the no-tilde-mountpoint branch from fc30873 to 6ef40ed Compare March 12, 2025 19:18
@jandubois jandubois requested a review from a team March 12, 2025 20:22
@AkihiroSuda AkihiroSuda added this to the v1.1.0 milestone Mar 12, 2025
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, ideally we should have an integration test

@AkihiroSuda AkihiroSuda merged commit c5eb9ac into lima-vm:master Mar 12, 2025
31 checks passed
@jandubois jandubois deleted the no-tilde-mountpoint branch March 13, 2025 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants