fix(deps): update github.com/containers/common digest to 05b2e1f

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2024-08-07 00:16:18 +00:00
committed by GitHub
parent 64020cdc51
commit 6714b6302d
4 changed files with 11 additions and 5 deletions

View File

@@ -42,11 +42,17 @@ func getLibpodTmpDir() string {
}
// getDefaultMachineVolumes returns default mounted volumes (possibly with env vars, which will be expanded)
// It is executed only if the machine provider is Hyper-V and it mimics WSL
// behavior where the host %USERPROFILE% drive (e.g. C:\) is automatically
// mounted in the guest under /mnt/ (e.g. /mnt/c/)
func getDefaultMachineVolumes() []string {
hd := homedir.Get()
vol := filepath.VolumeName(hd)
hostMnt := filepath.ToSlash(strings.TrimPrefix(hd, vol))
return []string{fmt.Sprintf("%s:%s", hd, hostMnt)}
return []string{
fmt.Sprintf("%s:%s", hd, hostMnt),
fmt.Sprintf("%s:%s", vol+"\\", "/mnt/"+strings.ToLower(vol[0:1])),
}
}
func getDefaultComposeProviders() []string {