summaryrefslogtreecommitdiffstats
path: root/client
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-144-8/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-294-2/+17
|
* #1071 ogNvramPxeEntryFirst New function that sets network as the default ↵Irina Gómez2022-03-091-0/+31
| | | | boot of NVRAM.
* #1069 ogBootMbrGeneric creates the necessary hard drive signature for ↵Irina Gómez2022-02-181-0/+4
| | | | Windows (UEFI).
* #1048: Fix boot issues in ogLive with Kernel 5.11Ramón M. Gómez2021-07-061-2/+2
|
* #1048: Avoid Awk 5.x warning when escaping quotes.Ramón M. Gómez2021-07-063-6/+6
|
* #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.
* #1033: Formatear la caché compatible con versiones 4.x y 5.x de Linux.RAMON MARIA GOMEZ LABRADOR2021-03-191-2/+4
|
* #802 UEFI: Add boot entries to last boot orderJose M. Guisado2021-02-171-2/+2
| | | | | | | | | | | | | | It's been reported that some UEFI implementations of several manufacturers do not comply with the standard and behave oddly. In this case it has been noted that when a BootEntry was created (with efibootmgr) but not added to the BootOrder this new entry did not survive a reboot. Thus, UEFI booting of a client from the ogLive menu was not possible. Adjust calling ogNvramAddEntry so that it adds the new entry to the BootOrder, but in last place so network boot, usually first option, remains in place.
* #1014 ogGetImageInfo: Support Windows update october 2020.Irina Gómez2020-12-161-1/+1
|
* #1011 Fix the error when Windows is hibernated. "Error code 6" was displayed ↵Irina Gómez2020-12-091-1/+18
| | | | in the boot menu.
* #1004 Add new fields to imagenes tableJavier Sánchez Parra2020-09-101-0/+1
| | | | | | | Extend database to store new fields that contain information about "clonator", "compressor", "filesystem" and "datasize". This patch also creates a /tmp/image.info file that is consumed by ogClient.
* #999 Fix ogClient session commandJavier Sánchez Parra2020-08-211-4/+4
| | | | | | | | | | | | | | | | | | | | Irina reports that booting an OS from ogLive is not working. This is happening because the bootOS shell script kills ogClient before invoking kexec to start the OS. However, ogClient runs this shell script that initiates the boot process, so it is also stopping the boot process. The ogClient needs to close the connection with ogServer before kexec, otherwise ogServer keeps reporting via REST API that the client is in ogLive state / busy state. Because after kexec everything is gone basically. This patch updates the script to: 1) spawn a process to kill the ogClient in 2 seconds, so the ogClient has time to reply to the ogServer and to close the connection gracefully. 2) spawn a process to invoke kexec in 3 seconds to boot the OS. [1] 2ead1639fd54bcf92d56cf7bf89b8d9cf4d6d24e
* #971 remove ogAdmClient binaryOpenGnSys Support Team2020-06-291-0/+0
| | | | It has been replaced by the ogClient.
* #987 Kill gracefully ogClientJavier Sánchez Parra2020-06-261-0/+2
| | | | | When the ogLive boot an OS with kexec, it did not kill gracefully ogClient. This provokes a hanging connection in the ogServer.
* #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
* #983: Merge branch `v1.1.1c` into `master`.Ramón M. Gómez2020-06-151-0/+0
|\
| * #983: Releasing OpenGnsys 1.1.1cRamón M. Gómez2020-06-091-0/+0
| |
* | #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.
* #959: Delete dirs moved to other repositories.Ramón M. Gómez2020-05-19125-26280/+0
| | | OGAgent code, browser code and the ogLive builder scrips are moved to new Git repositories.
* #941: Software inventory encoding to UTF-8.Ramón M. Gómez2020-05-141-1/+1
| | | Fix bug introduced by commit `930563c`due to the change of the database encoding.
* #841 Fixes bug in partitioning wizard when configure MBR: ogGetBootMbr ↵Irina Gómez2020-05-051-0/+30
| | | | function is created for detect MBR content and used in wizard.
* #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.
* #966: Function `ogListSoftware` also lists Flatpak and Snappy applications.Ramón M. Gómez2020-03-041-30/+51
|
* #960: `ogReduceFs` function can detect Btrfs over LVM metadevice.Ramón M. Gómez2020-02-241-14/+16
|
* #953 ogGrubDefaultEntry: Fixes the bad substitution that did not force the ↵Irina Gómez2020-02-211-1/+1
| | | | condition to match the whole line.
* ogGrubSecurity: changes backup of grub.cfg of the partition too.Irina Gómez2020-02-044-48/+42
| | | | | 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-044-12/+14
|
* #946: Fix Fedora 30 boot support.Ramón M. Gómez2020-01-281-1/+1
|
* ogGrubSecurity: configure grub.cfg for only user especificated can edit menu ↵Irina Gómez2019-12-171-1/+64
| | | | entries or access to command line.
* #935: New Grub4Dos binaries.Ramón M. Gómez2019-12-1017-0/+551
|
* #935 #906 ogGrub4dosInstallMbr(): new function to install grub4dos on the ↵adv2019-12-091-0/+76
| | | | MSDOS disk MBR
* #935 #906 gGrub4dosInstallMbr(): new Error code for PC's with BIOS legacy ↵adv2019-12-095-0/+5
| | | | | | | | | 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-095-0/+11
| | | | | | | | | MSDOS OG_ERR_NOMSDOS error code: loadenviron.sh string code: lang_es:cat:gb admin code: ogRaiseError () fron system.lib
* #938 ogBurgInstallMbr() add control error for PC with MSDOS partitionadv2019-12-091-23/+20
|
* #938 ogBurgInstallMbr() : binary may be in the ogLive or OGLIB/burg/burg.tgzadv2019-12-091-3/+12
| | | | | Check the availability of the binary in the ogLive. If necessary use the sources from $ OGLIB / burg / burg.tgz Live. If necessary use the sources from $ OGLIB / burg / burg.tgz
* #659: Using only compiled `rsync` command on old 32-bit ogLive clients.Ramón M. Gómez2019-12-041-1/+2
|
* #914: Remove unused files.Ramón M. Gómez2019-11-291-0/+0
|
* #914: Adapting all scripts to use the `master` branch.Ramón M. Gómez2019-11-251-1/+1
|
* #920: Remove white spaces when obtaining the client serial number.Ramón M. Gómez2019-11-211-1/+2
|
* #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-086-1/+11
| | | | 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 ogGrubInstallMbr in UEFI computers: NVRAM entry for 'grub' is ↵Irina Gómez2019-11-061-1/+1
| | | | better detected, avoiding errors.