refs #1026 uses the variable ogboot_ip in the installer, removes the use of the old get interface and ip address by traffic. Now we can configure the ogboot ip and use it in nginx and ipxe compilation
parent
c5eb804291
commit
a005dec399
|
@ -538,7 +538,7 @@ def get_ip_address(interface):
|
|||
return None
|
||||
|
||||
def generate_ipxe_script():
|
||||
ip_address_server = get_ip_address(DEFAULTDEV)
|
||||
ip_address_server = OGBOOT_IP
|
||||
template = os.path.join(REPO_DIR, "etc/dhcp_boot.ipxe.tmpl")
|
||||
ipxe_output = f"{INSTALL_OGBOOT_TARGET}/tftpboot/ipxe_scripts/dhcp_boot.ipxe"
|
||||
os.makedirs(os.path.dirname(ipxe_output), mode=0o775, exist_ok=True)
|
||||
|
@ -618,7 +618,7 @@ def smbConfigure():
|
|||
def setup_nginx():
|
||||
try:
|
||||
# Obtener la IP del servidor
|
||||
ip_address_server = get_ip_address(DEFAULTDEV)
|
||||
ip_address_server = OGBOOT_IP
|
||||
php_version = get_php_fpm_version()
|
||||
|
||||
# Leer y modificar la plantilla de configuración de nginx
|
||||
|
|
Loading…
Reference in New Issue