| From 1536ced26da43813a9206a6d3c0c634f46574a3c Mon Sep 17 00:00:00 2001 |
| From: varsha teratipally <teratipally@google.com> |
| Date: Mon, 7 Mar 2022 22:47:56 +0000 |
| Subject: [PATCH] Ensure systemd-networkd-wait-online service waits for the |
| ipv4 configured on GCP |
| |
| Lakitu board needs IPv4 configured inorder to successfully communicate |
| with the Google MDS. More details at b/218774619 |
| --- |
| units/systemd-networkd-wait-online.service.in | 3 ++- |
| 1 file changed, 2 insertions(+), 1 deletion(-) |
| |
| diff --git a/units/systemd-networkd-wait-online.service.in b/units/systemd-networkd-wait-online.service.in |
| index 10d8b08c8e..d41fac4a4c 100644 |
| --- a/units/systemd-networkd-wait-online.service.in |
| +++ b/units/systemd-networkd-wait-online.service.in |
| @@ -18,7 +18,8 @@ Before=network-online.target shutdown.target |
| |
| [Service] |
| Type=oneshot |
| -ExecStart={{ROOTLIBEXECDIR}}/systemd-networkd-wait-online |
| +# An interface eth0 is required a routable IPv4 address inorder to successfully configure instance. |
| +ExecStart={{ROOTLIBEXECDIR}}/systemd-networkd-wait-online --interface=eth0 --ipv4 --timeout=0 --operational-state=routable |
| RemainAfterExit=yes |
| |
| [Install] |
| -- |
| 2.35.1.616.g0bdcbb4464-goog |
| |