| From acceba7c001c8711bf4205bf4ab8d004017d5f1b Mon Sep 17 00:00:00 2001 |
| From: varsha teratipally <teratipally@google.com> |
| Original Author: Wei Xu <weixugc@google.com> |
| Date: Sat, 5 Jun 2021 01:00:05 +0000 |
| Subject: [PATCH] Remove sshd service dependency and hv_kvp_daemon dep |
| |
| diff --git a/systemd/cloud-init-local.service.tmpl b/systemd/cloud-init-local.service.tmpl |
| index 7166f640..ff9c644d 100644 |
| --- a/systemd/cloud-init-local.service.tmpl |
| +++ b/systemd/cloud-init-local.service.tmpl |
| @@ -5,7 +5,6 @@ Description=Initial cloud-init job (pre-networking) |
| DefaultDependencies=no |
| {% endif %} |
| Wants=network-pre.target |
| -After=hv_kvp_daemon.service |
| After=systemd-remount-fs.service |
| Before=NetworkManager.service |
| Before=network-pre.target |
| diff --git a/systemd/cloud-init.service.tmpl b/systemd/cloud-init.service.tmpl |
| index de3f3d91..3f59ab9e 100644 |
| --- a/systemd/cloud-init.service.tmpl |
| +++ b/systemd/cloud-init.service.tmpl |
| @@ -5,8 +5,6 @@ Description=Initial cloud-init job (metadata service crawler) |
| DefaultDependencies=no |
| {% endif %} |
| Wants=cloud-init-local.service |
| -Wants=sshd-keygen.service |
| -Wants=sshd.service |
| After=cloud-init-local.service |
| After=systemd-networkd-wait-online.service |
| {% if variant in ["ubuntu", "unknown", "debian"] %} |
| @@ -24,8 +22,6 @@ After=wicked.service |
| After=dbus.service |
| {% endif %} |
| Before=network-online.target |
| -Before=sshd-keygen.service |
| -Before=sshd.service |
| {% if variant in ["ubuntu", "unknown", "debian"] %} |
| Before=sysinit.target |
| Before=shutdown.target |
| @@ -35,7 +31,6 @@ Conflicts=shutdown.target |
| Before=shutdown.target |
| Conflicts=shutdown.target |
| {% endif %} |
| -Before=systemd-user-sessions.service |
| |
| [Service] |
| Type=oneshot |
| |
| -- |
| 2.25.1.481.gfbce0eb801-goog |
| |