mirror of
https://github.com/containers/podman.git
synced 2025-06-23 18:59:30 +08:00
Update to podman4 copr stream
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
This commit is contained in:
@ -349,6 +349,16 @@ func provisionWSLDist(v *MachineVM) (string, error) {
|
||||
return "", errors.Wrap(err, "package upgrade on guest OS failed")
|
||||
}
|
||||
|
||||
fmt.Println("Enabling Copr")
|
||||
if err = runCmdPassThrough("wsl", "-d", dist, "dnf", "install", "-y", "'dnf-command(copr)'"); err != nil {
|
||||
return "", errors.Wrap(err, "enabling copr failed")
|
||||
}
|
||||
|
||||
fmt.Println("Enabling podman4 repo")
|
||||
if err = runCmdPassThrough("wsl", "-d", dist, "dnf", "-y", "copr", "enable", "rhcontainerbot/podman4"); err != nil {
|
||||
return "", errors.Wrap(err, "enabling copr failed")
|
||||
}
|
||||
|
||||
if err = runCmdPassThrough("wsl", "-d", dist, "dnf", "install",
|
||||
"podman", "podman-docker", "openssh-server", "procps-ng", "-y"); err != nil {
|
||||
return "", errors.Wrap(err, "package installation on guest OS failed")
|
||||
|
Reference in New Issue
Block a user