mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-21 18:50:30 +00:00
Fix behavior on existing directory
This commit is contained in:
@@ -167,7 +167,7 @@ def install_tftp_content():
|
||||
try:
|
||||
os.makedirs(tftplocation)
|
||||
except OSError as e:
|
||||
if e.errno == 17:
|
||||
if e.errno != 17:
|
||||
raise
|
||||
shutil.copy('/opt/confluent/lib/ipxe/ipxe.efi', tftplocation)
|
||||
shutil.copy('/opt/confluent/lib/ipxe/ipxe.kkpxe', tftplocation)
|
||||
|
Reference in New Issue
Block a user