summaryrefslogtreecommitdiff
path: root/pkg/machine
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-11-30 11:36:11 +0100
committerValentin Rothberg <rothberg@redhat.com>2021-11-30 14:37:25 +0100
commit9a10e2124bb11027fc71db4c495c116277b8b7e3 (patch)
tree724af810246e9bef1232f997f3eb36547a57ad27 /pkg/machine
parent8de68b170716dd1293c5a044f3e9cfd962fdbfb1 (diff)
downloadpodman-9a10e2124bb11027fc71db4c495c116277b8b7e3.tar.gz
podman-9a10e2124bb11027fc71db4c495c116277b8b7e3.tar.bz2
podman-9a10e2124bb11027fc71db4c495c116277b8b7e3.zip
systemd: replace multi-user with default.target
Replace `multi-user.target` with `default.target` across the code base. It seems like the multi-user one is not available for (rootless) users on F35 anymore is causing issues in all kinds of ways, for instance, enabling the podman.service or generated systemd units. Fixes: #12438 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/machine')
-rw-r--r--pkg/machine/ignition.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/machine/ignition.go b/pkg/machine/ignition.go
index e19940b22..5c465d37d 100644
--- a/pkg/machine/ignition.go
+++ b/pkg/machine/ignition.go
@@ -89,7 +89,7 @@ Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/sh -c '/usr/bin/echo Ready >/dev/%s'
[Install]
-RequiredBy=multi-user.target
+RequiredBy=default.target
`
deMoby := `[Unit]
Description=Remove moby-engine
@@ -106,7 +106,7 @@ ExecStart=/usr/bin/rpm-ostree ex apply-live --allow-replacement
ExecStartPost=/bin/touch /var/lib/%N.stamp
[Install]
-WantedBy=multi-user.target
+WantedBy=default.target
`
_ = ready
ignSystemd := Systemd{