| From 1db1a6db28e8cfaed65f0ec7403ab7e4177792e5 Mon Sep 17 00:00:00 2001 |
| From: Meena Shanmugam <meenashanmugam@google.com> |
| Date: Wed, 29 Sep 2021 04:34:36 +0000 |
| Subject: [PATCH] Add --any and --timeout=0 option in |
| systemd-networkd-wait-online service |
| |
| Azure requires --any option to be added to networkd-wait-online service |
| to proceed when atleast one interface is online. |
| --- |
| units/systemd-networkd-wait-online.service.in | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| |
| diff --git a/units/systemd-networkd-wait-online.service.in b/units/systemd-networkd-wait-online.service.in |
| index 10d8b08c8e..2975092c14 100644 |
| --- a/units/systemd-networkd-wait-online.service.in |
| +++ b/units/systemd-networkd-wait-online.service.in |
| @@ -18,7 +18,7 @@ Before=network-online.target shutdown.target |
| |
| [Service] |
| Type=oneshot |
| -ExecStart={{ROOTLIBEXECDIR}}/systemd-networkd-wait-online |
| +ExecStart={{ROOTLIBEXECDIR}}/systemd-networkd-wait-online --any --timeout=0 |
| RemainAfterExit=yes |
| |
| [Install] |
| -- |
| 2.33.0.685.g46640cef36-goog |
| |