From 049781d86e0ae615ed443c33abc671495e01e99e Mon Sep 17 00:00:00 2001 From: Maksim Paskal Date: Wed, 26 Jun 2024 20:23:18 +0100 Subject: [PATCH] copy config to sysconfig allow to fail (#119) Signed-off-by: Maksim Paskal --- scripts/common-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/common-install.sh b/scripts/common-install.sh index ecdbd96..9353812 100755 --- a/scripts/common-install.sh +++ b/scripts/common-install.sh @@ -272,7 +272,8 @@ KUBELET_EXTRA_ARGS=--cloud-provider=external --node-ip=$INTERNAL_IP --v=2 EOF # some UBUNTU installations use /etc/sysconfig/kubelet -cp /etc/default/kubelet /etc/sysconfig/kubelet +# latest ubuntu versions use /etc/default/kubelet +cp /etc/default/kubelet /etc/sysconfig/kubelet || true apt -y autoremove apt -y autoclean