2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-21 17:11:58 +00:00

Fix path to ntp servers in user-data mod for ubuntu

This commit is contained in:
Jarrod Johnson 2024-07-29 15:57:34 -04:00
parent 1c4f1ae817
commit 71ca9ef76c

View File

@ -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