mirror of
https://github.com/containers/podman.git
synced 2026-05-19 14:09:01 -04:00
machine: move marker file to /etc/podman-machine
Matches changes from https://github.com/containers/container-libs/pull/779 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -323,8 +323,9 @@ pids_limit=0
|
||||
files = append(files, File{
|
||||
Node: Node{
|
||||
Group: GetNodeGrp("root"),
|
||||
Path: "/etc/containers/podman-machine",
|
||||
User: GetNodeUsr("root"),
|
||||
// Files used to /etc/containers/podman-machine but had to be moved so we do not overmount it.
|
||||
Path: "/etc/podman-machine",
|
||||
User: GetNodeUsr("root"),
|
||||
},
|
||||
FileEmbedded1: FileEmbedded1{
|
||||
Append: nil,
|
||||
|
||||
@@ -179,7 +179,7 @@ func configureSystem(mc *vmconfigs.MachineConfig, dist string, ansibleConfig *vm
|
||||
return err
|
||||
}
|
||||
|
||||
if err := wslInvoke(dist, "sh", "-c", "echo wsl > /etc/containers/podman-machine"); err != nil {
|
||||
if err := wslInvoke(dist, "sh", "-c", "echo wsl > /etc/podman-machine"); err != nil {
|
||||
return fmt.Errorf("could not create podman-machine file for guest OS: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user