mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Bug 8208 - bare metal provisioning
user lower case for tftp boot file
This commit is contained in:
parent
5645137f9c
commit
65dda266f5
@ -29,7 +29,7 @@ def prepare_boot_file():
|
||||
if exists(pxelinux) == False:
|
||||
makedirs(pxelinux)
|
||||
|
||||
cfg_name = "01-" + mac.replace(':','-')
|
||||
cfg_name = "01-" + mac.replace(':','-').lower()
|
||||
cfg_path = join(pxelinux, cfg_name)
|
||||
f = open(cfg_path, "w")
|
||||
stuff = template % (cifs_server, share, directory, image_to_restore, cifs_username, cifs_password)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user