summaryrefslogtreecommitdiffstats
path: root/client/shared
Commit message (Collapse)AuthorAgeFilesLines
* search network specific ogclient configurationJose M. Guisado2023-08-281-1/+4
| | | | | | If server= boot param is present and expands to a valid configuration file at "/opt/opengnsys/ogClient/cfg/$server.json", use this configuration file as the ogClient config file.
* #1062 Support tiptorrent image transfer modeJavier Sánchez Parra2022-06-143-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for tiptorrent image transfer mode to client's bash scripts (aka cloning engine). If desired, clients receive images to restore with the new unicast transfer mode tiptorrent. See also: http://git.soleta.eu/tiptorrent/ #1062 Add tiptorrent support to WebConsole Add tiptorrent option to WebConsole restore image form. #1062 Launch tiptorrent on oglive init This commit adds tiptorrent launch to oglive init process. Clients launch tiptorrent daemon if they have cache partition. #1062 Fix minor tiptorrent integration bugs * Fix md5sum pipe typo * Use correct variable for checksum download #1062 Calculate checksum on image creation Otherwise, OpenGnsys depends on cron and bittorrent specific scripts to obtain images checksums. Support cache cleaning for tiptorrent image parts Tiptorrent downloads and saves images to the cache in parts. With this commit, WebConsole shows and deletes all parts as one. #1062 Rename TIPTORRENT-CACHE in restore image form This commit changes TIPTORRENT for TIPTORRENT-CACHE to keep naming consistency. #1062 tiptorrent stores whole file instead of chunks Tiptorrent now stores the whole file instead of the split chunks. Removes any chunk related code from cloning engine scripts. Requires newer version of tiptorrent installed (tiptorrent-static >= 1.0.0-6). Always compute MD5 of cached image Do not rely on MD5 checksum file from the cache on tiptorrent transfers. Otherwise, cloning engine could restore a corrupted image. #1062 Check tiptorrent exit code Otherwise, the image restoration continues in failed downloads.
* Export non standard python path to clientsJose M. Guisado2022-06-141-0/+2
| | | | | | | | | | | | | | | | | | | | New python requirements of programs running in ogLive clients are shared via samba. Appends this Samba directory to the PYTHONPATH of OpenGnsys clients (ogLive). Specific python versions folder in the OpenGnsys server are located at: /opt/opengnsys/client/lib/pythonX.Y/ X = Major version Y = Minor version This is exposed in the client (ogLive) at: /opt/opengnsys/lib/pythonX.Y/ Clients startup script detects python3 version and exports the correct samba directory.
* #1068 Detect room specific client config fileJose M. Guisado2022-04-081-1/+6
| | | | | | | | | | | | | | | | | Before starting ogClient, script will lookup for specific classroom configuration file, if it is found, then it will use it, otherwise it uses the default configuration file. The specific configuration file allows for finer-grain configurations per room. Spaces in the room name are replaced by underscore. For example. client: pc11, room name: "Virtual room". If "Virtual_room.json" exists in client /opt/opengnsys/ogClient/cfg it will use that config file. If it doesn't exist, start ogclient with default config file (ogclient.json)
* #1071 Rename the function to ogNvramPxeFirstentry and include help messages.Irina Gómez2022-03-293-0/+15
|
* #1048: Fix boot issues in ogLive with Kernel 5.11Ramón M. Gómez2021-07-061-2/+2
|
* #1041 Fix poweroffconf scriptJose M. Guisado2021-04-131-1/+2
| | | | | | | | | | | poweroffconf is checking if the system is idle by doing a pgrep of processes starting with "/opt/opengnsys/" and ignoring the ones containing $OGETC or "poweroffconf". ogclient process always falls under this process lookup thus making the system seem as always active. Ignore the ogclient process when checking if the system is not idle.
* #1011 Fix the error when Windows is hibernated. "Error code 6" was displayed ↵Irina Gómez2020-12-091-1/+18
| | | | in the boot menu.
* #971 remove ogAdmClient binaryOpenGnSys Support Team2020-06-291-0/+0
| | | | It has been replaced by the ogClient.
* #971 invoke ogclient via shebangOpenGnSys Support Team2020-06-261-1/+1
| | | | Instead of invoking python3.
* #987 rename to ogclientOpenGnSys Support Team2020-06-261-1/+1
| | | | This has been renamed from ogClient/main.py to ogClient/ogclient.
* #986 Rename to ogserverJavier Sánchez Parra2020-06-192-2/+2
| | | | Step forward to rename all ogAdmServer references to ogServer
* #971 run ogClient (replace ogAdmClient)Javier Sánchez Parra2020-06-021-3/+2
| | | | | | | This commit changes the bash script that the clients execute at the init fase to launch the new ogClient instead of the old ogAdmClient. This way the client works with the new ogAdmServer that do not use custom protocol SocketHidra anymore.
* #780 buildToOrder works with Windows 8 and Windows 10. When no key exists, ↵Irina Gómez2020-05-041-19/+29
| | | | it is created.
* #963: Script `launchOgagentInstaller` schedules an unattended installation ↵Ramón M. Gómez2020-03-111-2/+2
| | | | of OGAgent for Windows.
* ogGrubSecurity: changes backup of grub.cfg of the partition too.Irina Gómez2020-02-043-12/+15
| | | | | ogGrub4dosInstallMbr: the configuration directory name is changed to lowercase for the script to work in Linux. GRUBDIR is removed because not use.
* ogGrubHidePartitions and ogBurgHidePartitions: help messages are enhanced.Irina Gómez2020-02-043-6/+6
|
* #935: New Grub4Dos binaries.Ramón M. Gómez2019-12-1017-0/+551
|
* #935 #906 gGrub4dosInstallMbr(): new Error code for PC's with BIOS legacy ↵adv2019-12-094-0/+4
| | | | | | | | | firmware OG_ERR_NOTBIOS error code: loadenviron.sh string code: lang_es:cat:gb admin code: ogRaiseError () fron system.lib
* #935 #906 ogGrub4dosInstallMbr(): new Error code for disk with partitioned ↵adv2019-12-094-0/+10
| | | | | | | | | MSDOS OG_ERR_NOMSDOS error code: loadenviron.sh string code: lang_es:cat:gb admin code: ogRaiseError () fron system.lib
* #914 Fix error in message of [0531169] commit.Irina Gómez2019-11-141-1/+1
|
* #914 deployImagen shows error message when image file is corrupt or was ↵Irina Gómez2019-11-085-1/+10
| | | | created with other partclone version.
* Modificación para tratar discos nvme, la sintaxis generada por grub_probe ↵Juan Manuel Bardallo juanmanuel.bardallo@sic.uhu.es2019-11-081-247/+265
| | | | no es la adecuada para arrancar este tipo de discos, se detecta y renombra la entrada del disco correspondiente con la nomenclatura: hd0,0 para discos nvme con tabla MSDOS y hd0,gpt1 para discos nvme con tabla GPT
* #802 #888 On UEFI computers, OpenGnsys installs grub to boot from the hard ↵Irina Gómez2019-11-041-5/+4
| | | | drive. You can use the rEFInd template example for computers without SecureBoot.
* #909 updateCache: Fixs log message for multicast.Irina Gómez2019-10-281-1/+1
|
* #909 updateCache: Fixs log message for multicast.Irina Gómez2019-10-223-3/+3
|
* #914: Add definition for Hidden NTFS WinRE partition in MSDOS table.Ramón M. Gómez2019-10-161-0/+5
|
* #929 setsslkey: Script for configurate public key authentication in ogLive.Irina Gómez2019-09-251-0/+6
|
* #914: Remove unused files: ogAdmLnxClient, ogAdmWinClient and Chinese Grub4Dos.Ramón M. Gómez2019-09-255-0/+0
|
* #919: Browser binary and locales.Ramón M. Gómez2019-09-233-0/+0
|
* bootOsCustom.template: supports several disk and one data partition.Irina Gómez2019-09-191-24/+33
|
* #914: Remove unused binary {{{ld-mac}}}.Ramón M. Gómez2019-09-122-4/+1
|
* #923 deployImage exits if detects error in updateCache. updateCache exits if ↵Irina Gómez2019-08-092-1/+5
| | | | it detects error when copying torrent file.
* Merge branch 'devel' into uefiIrina Gómez2019-06-051-1/+1
|\ | | | | | | Fast foward with devel branch
| * #872: Fix a little bug when a client launch its browser.Ramón M. Gómez2019-05-231-1/+1
| |
| * #895 Fix initCache: if the size of the cache changes, it always formats the ↵Irina Gómez2019-05-151-2/+4
| | | | | | | | cache. ogCheckFs includes the CACHE file system type
* | #802 #889 cloneRemoteFromMaster script in master, when computer has Efi ↵Irina Gómez2019-05-221-0/+7
| | | | | | | | active and operating system is Windows, copies boot loader folder from ESP to system partition.
* | #802 #889 createImage script don't use 'ogSaveImageInfo' for Windows. ↵Irina Gómez2019-05-221-3/+0
| | | | | | | | 'ogSaveImageInfo' function is removed.
* | Fix initCache: if the size of the cache changes, it always formats the ↵Irina Gómez2019-05-151-2/+4
| | | | | | | | cache. ogCheckFs includes the CACHE file system type
* | Merge branch 'devel' into uefi (fast-forward)Irina Gómez2019-05-132-0/+6
|\|
| * #905 Fix deployImage: When protocol is '*-CACHE' remove string after the hyphenIrina Gómez2019-03-221-0/+2
| |
| * #893 Adding code to rename client pc in configureOsOpenGnSys Support Team2019-01-311-0/+4
| |
* | #802 #888 If UEFI active, always installs rEFInd and sets it as bootloader ↵Irina Gómez2019-04-254-27/+41
| | | | | | | | (NVRAM) second entry. New Nvram management functions: Add new entry, get and set de next boot entry.
* | #802 #888 Functions for the NVRAM management. Functions in UEFI.lib ordered ↵Irina Gómez2019-04-154-0/+30
| | | | | | | | in alphabetical order.
* | ogRefindInstall, with paremeter FALSE, does not configure menu entry of ↵Irina Gómez2019-04-033-0/+21
| | | | | | | | directory microsoft or ubuntu. Fixs PXE template of refind. Creates auxiliary functions for rEFInd.
* | #802 #890 ogGrubInstallMbr detects Windows loader en ESP and saves de ↵Irina Gómez2019-03-282-1/+54
| | | | | | | | ogbootloader into directory 'grub'·
* | #802 #889 #890 Fix UEFI postconf: configureOs does not use ogFixBootSector ↵Irina Gómez2019-03-261-2/+0
| | | | | | | | for Windows. ogGrubInstall does not change boot order in NVRAM.
* | Fix some script calls to ogIsEfiActive function.Irina Gómez2019-03-201-1/+1
| |
* | #890 #802 ogGrubInstall: To get kernel parameters we need the original ↵Irina Gómez2019-03-051-0/+4
| | | | | | | | grub.cfg: it\'s move at the end. grubSyntax: In kernel parameters, replaces UUID for DEVICE.
* | #802 #889 configureOs can relocale Windows in different partition. ↵Irina Gómez2019-01-293-48/+14
| | | | | | | | ogWindowsBootParameters: include the bootpartition to configure BCD