From 9335972ba9e79d85a5f72e0ef95af7d063286b4c Mon Sep 17 00:00:00 2001 From: Atanas Dinov Date: Thu, 18 Jan 2024 11:28:09 +0200 Subject: [PATCH] Allow nmc failures Signed-off-by: Atanas Dinov --- pkg/combustion/templates/03-configure-network.sh.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/combustion/templates/03-configure-network.sh.tpl b/pkg/combustion/templates/03-configure-network.sh.tpl index 22e6d85a..e30ab04c 100644 --- a/pkg/combustion/templates/03-configure-network.sh.tpl +++ b/pkg/combustion/templates/03-configure-network.sh.tpl @@ -1,4 +1,5 @@ #!/bin/bash set -euo pipefail -./nmc apply --config-dir {{ .ConfigDir }} +# Use "|| true" in order to allow for DHCP configurations in cases where nmc fails +./nmc apply --config-dir {{ .ConfigDir }} || true