refactor(machine): improve machine marker value

1. Set the marker to the current virtual machine type instead of fixed qemu.
2. Update containers/common

[NO NEW TESTS NEEDED]

Signed-off-by: Black-Hole1 <bh@bugs.cc>
This commit is contained in:
Black-Hole1
2023-11-28 10:10:38 +08:00
parent e4cdd4b35a
commit a2bf8c6d50
35 changed files with 361 additions and 51 deletions

View File

@ -7,7 +7,7 @@ import (
)
func shouldResolveWinPaths() bool {
return machine.MachineHostType() == "wsl"
return machine.HostType() == "wsl"
}
func shouldResolveUnixWinVariant(path string) bool {