summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason T. Greene <jason.greene@redhat.com>2022-07-25 22:26:35 -0500
committerAshley Cui <acui@redhat.com>2022-08-08 16:15:28 -0400
commitf826ed5846e34de0e60504dc70a89b31d395abc3 (patch)
treec95888974891c47443271e1cffdac256877019b1
parentb3d5ba657b3dfbc2f33083cfd35b7baad12247f8 (diff)
downloadpodman-f826ed5846e34de0e60504dc70a89b31d395abc3.tar.gz
podman-f826ed5846e34de0e60504dc70a89b31d395abc3.tar.bz2
podman-f826ed5846e34de0e60504dc70a89b31d395abc3.zip
Disable F36 service that is incompat with WSL kern
(requires psi) Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
-rw-r--r--pkg/machine/wsl/machine.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/machine/wsl/machine.go b/pkg/machine/wsl/machine.go
index 189723ac7..9338e7517 100644
--- a/pkg/machine/wsl/machine.go
+++ b/pkg/machine/wsl/machine.go
@@ -56,6 +56,7 @@ rm -f /etc/systemd/system/getty.target.wants/getty@tty1.service
rm -f /etc/systemd/system/multi-user.target.wants/systemd-resolved.service
rm -f /etc/systemd/system/dbus-org.freedesktop.resolve1.service
ln -fs /dev/null /etc/systemd/system/console-getty.service
+ln -fs /dev/null /etc/systemd/system/systemd-oomd.socket
mkdir -p /etc/systemd/system/systemd-sysusers.service.d/
adduser -m [USER] -G wheel
mkdir -p /home/[USER]/.config/systemd/[USER]/