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:
parent
dfc289b154
commit
d792822f4b
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user