From 71ca9ef76c7abed0752931d1545b447288f3b7c0 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 29 Jul 2024 15:57:34 -0400 Subject: [PATCH] Fix path to ntp servers in user-data mod for ubuntu --- .../ubuntu22.04/profiles/default/scripts/mergetime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/ubuntu22.04/profiles/default/scripts/mergetime b/confluent_osdeploy/ubuntu22.04/profiles/default/scripts/mergetime index 0cacc1e8..7edb2632 100644 --- a/confluent_osdeploy/ubuntu22.04/profiles/default/scripts/mergetime +++ b/confluent_osdeploy/ubuntu22.04/profiles/default/scripts/mergetime @@ -16,7 +16,7 @@ with open('/etc/confluent/confluent.deploycfg', 'r') as confluentdeploycfg: if ntps and not ainst.get('ntp', None): ainst['ntp'] = {} ainst['ntp']['enabled'] = True - ainst['servers'] = ntps + ainst['ntp']['servers'] = ntps if tz and not ainst.get('timezone'): ainst['timezone'] = tz