mirror of https://github.com/containers/podman.git
18 lines
298 B
Go
18 lines
298 B
Go
package qemu
|
|
|
|
import (
|
|
"github.com/containers/podman/v4/pkg/rootless"
|
|
"github.com/containers/podman/v4/pkg/util"
|
|
)
|
|
|
|
func getRuntimeDir() (string, error) {
|
|
if !rootless.IsRootless() {
|
|
return "/run", nil
|
|
}
|
|
return util.GetRootlessRuntimeDir()
|
|
}
|
|
|
|
func useNetworkRecover() bool {
|
|
return false
|
|
}
|