El proceso de instalación tardará unos minutos.
+ }})
diff --git a/etc/nginx/sites-available/ogcore.conf b/etc/nginx/sites-available/ogcore.conf index 031ae72..f9df21b 100644 --- a/etc/nginx/sites-available/ogcore.conf +++ b/etc/nginx/sites-available/ogcore.conf @@ -7,6 +7,16 @@ server { ssl_certificate /opt/opengnsys/ogcore/etc/nginx/certs/ogcore.uds-test.net.crt.pem; ssl_certificate_key /opt/opengnsys/ogcore/etc/nginx/certs/ogcore.uds-test.net.key.pem; + location ~ ^/pcclients/([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)(/.*)?$ { + set $target_ip $1; + set $rest $2; + + proxy_pass http://$target_ip$rest; + proxy_set_header Host $target_ip; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } + location /opengnsys/rest/ous// { rewrite ^/opengnsys/rest/ous//([0-9]+)/images /opengnsys/rest/ous/$1/images; rewrite ^/opengnsys/rest/ous//([0-9]+)/labs /opengnsys/rest/ous/$1/labs; diff --git a/templates/browser/main.html.twig b/templates/browser/main.html.twig index 9b7dab1..0a96ca8 100644 --- a/templates/browser/main.html.twig +++ b/templates/browser/main.html.twig @@ -4,197 +4,565 @@ -
Disco | +Partición | +Tamaño | +Tipo | +SO | +Acciones | +
---|---|---|---|---|---|
sda | +1 | +512.00 MB | +ext4 | +Ubuntu 22.04 | ++ + + Arrancar Ubuntu 22.04 + + | +
sda | +2 | +1024.00 MB | +ntfs | +Windows 11 | ++ + + Arrancar Windows 11 + + | +
sda | +3 | +256.00 MB | +swap | +- | ++ + | +
sdb | +1 | +2048.00 MB | +ext4 | +Debian 12 | ++ + + Arrancar Debian 12 + + | +
sdb | +2 | +512.00 MB | +fat32 | +- | ++ + | +
Disco | +Partición | +Tamaño | +Tipo | +SO | +Acciones | +
---|---|---|---|---|---|
{{ partition.diskNumber }} | +{{ partition.partitionNumber }} | +{{ (partition.size / 1024)|number_format(2) }} MB | +{{ partition.filesystem }} | +{{ partition.operativeSystem ? partition.operativeSystem.name : '-' }} | ++ {% if partition.operativeSystem %} + + + Arrancar {{ partition.operativeSystem.name }} + + {% endif %} + | +
No hay particiones disponibles.
- {% endif %} -No hay particiones disponibles.
+ {% endif %} + #} + +