summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason T. Greene <jason.greene@redhat.com>2022-07-25 22:26:35 -0500
committerJason T. Greene <jason.greene@redhat.com>2022-08-02 06:55:48 -0500
commitbce16a58de428d7e8eed1b5211a41016f77c5476 (patch)
tree8b5ffa9ab61543f3a659e8e599e2db9ff42d1184
parent47a814aa6df97da834315d778cb68f66a82c3231 (diff)
downloadpodman-bce16a58de428d7e8eed1b5211a41016f77c5476.tar.gz
podman-bce16a58de428d7e8eed1b5211a41016f77c5476.tar.bz2
podman-bce16a58de428d7e8eed1b5211a41016f77c5476.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]/