diff --git a/installer/ogboot_installer.py b/installer/ogboot_installer.py index ea0e1c5..6ee24f5 100755 --- a/installer/ogboot_installer.py +++ b/installer/ogboot_installer.py @@ -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)