2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-12 00:30:33 +00:00

Amend osdeploy missing tftp warning

This commit is contained in:
Jarrod Johnson 2020-08-28 09:19:38 -04:00
parent 2aa2402b73
commit ffe0144b2c

View File

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