From d792822f4b3799b63279c24c60db6ff4af594c31 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 15 Jul 2020 12:53:41 -0400 Subject: [PATCH] Go back to copy tftp tends to chroot itself, making symlinks out of the tftp data directory infeasible. --- 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 baf77dfd..d08a19b2 100644 --- a/confluent_server/bin/osdeploy +++ b/confluent_server/bin/osdeploy @@ -63,8 +63,8 @@ def install_tftp_content(): except OSError as e: if e.errno == 17: raise - os.symlink('/opt/confluent/lib/ipxe/ipxe.efi', tftplocation + '/ipxe.efi') - os.symlink('/opt/confluent/lib/ipxe/ipxe.kkpxe', tftplocation + '/ipxe.kkpxe') + shutil.copy('/opt/confluent/lib/ipxe/ipxe.efi', tftplocation) + shutil.copy('/opt/confluent/lib/ipxe/ipxe.kkpxe', tftplocation) def initialize(cmdset):