refs #401 removes a array for a string in template
parent
98768fcef7
commit
425cde6f1a
|
@ -724,11 +724,11 @@ def openGnsysConfigure():
|
|||
# Para nuetra demo 172.17.8.82
|
||||
print(f"{openGnsysConfigure.__name__}(): Creating OpenGnsys config files.")
|
||||
|
||||
CONSOLEURL = f"https://{SERVER_OPENGNSYS[i]}/opengnsys"
|
||||
CONSOLEURL = f"https://{SERVER_OPENGNSYS}/opengnsys"
|
||||
with open(f"{WORKDIR}/ogboot/etc/ogAdmClient.cfg") as file:
|
||||
content = file.read()
|
||||
content = content.replace("SERVERIP", SERVER_OPENGNSYS[i])
|
||||
content = content.replace("OPENGNSYSURL", CONSOLEURL.replace("/", "\\/"))
|
||||
content = content.replace("SERVERIP", SERVER_OPENGNSYS)
|
||||
content = content.replace("OPENGNSYSURL", CONSOLEURL)
|
||||
with open(f"{INSTALL_TARGET}/client/etc/ogAdmClient-eth0.cfg", "w") as outfile:
|
||||
outfile.write(content)
|
||||
|
||||
|
|
Loading…
Reference in New Issue