From ffe0144b2c94b86c49273aea8e0346d579d8f224 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 28 Aug 2020 09:19:38 -0400 Subject: [PATCH] Amend osdeploy missing tftp warning --- confluent_server/bin/osdeploy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_server/bin/osdeploy b/confluent_server/bin/osdeploy index 395db284..05238f89 100644 --- a/confluent_server/bin/osdeploy +++ b/confluent_server/bin/osdeploy @@ -162,8 +162,8 @@ def install_tftp_content(): if os.path.exists('/usr/lib/systemd/system/tftp.socket'): subprocess.check_call(['systemctl', 'enable', 'tftp.socket', '--now']) else: - print( - 'Unable to automatically enable TFTP server, please enable manually') + emprint( + 'Detected {0} as tftp directory, but unable to determine tftp service, ensure that a tftp server is installed and enabled manually'.format(tftplocation)) tftplocation = '{0}/confluent/x86_64'.format(tftplocation) try: os.makedirs(tftplocation)