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

Go back to copy

tftp tends to chroot itself, making symlinks out of
the tftp data directory infeasible.
This commit is contained in:
Jarrod Johnson 2020-07-15 12:53:41 -04:00
parent dfc289b154
commit d792822f4b

View File

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