summaryrefslogtreecommitdiffstats
path: root/client/engine
Commit message (Collapse)AuthorAgeFilesLines
* #1062 Support tiptorrent image transfer modeJavier Sánchez Parra2022-06-141-8/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* #1071 Rename the function to ogNvramPxeFirstentry and include help messages.Irina Gómez2022-03-291-2/+2
|
* #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: Avoid Awk 5.x warning when escaping quotes.Ramón M. Gómez2021-07-063-6/+6
|
* #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
|
* #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
* #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.
* #983: Releasing OpenGnsys 1.1.1cRamón M. Gómez2020-06-091-0/+0
|
* #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.
* #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-041-36/+27
| | | | | 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-041-6/+8
|
* #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 #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-091-0/+1
| | | | | | | | | 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-091-0/+1
| | | | | | | | | 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
|
* #920: Remove white spaces when obtaining the client serial number.Ramón M. Gómez2019-11-211-1/+2
|
* #914 deployImagen shows error message when image file is corrupt or was ↵Irina Gómez2019-11-081-0/+1
| | | | created with other partclone version.
* #802 #888 ogGrubInstallMbr in UEFI computers: NVRAM entry for 'grub' is ↵Irina Gómez2019-11-061-1/+1
| | | | better detected, avoiding errors.
* #802 #890 ogGrubInstallMbr: Adds NVRAM entry for grub and place it in second ↵Irina Gómez2019-10-291-1/+7
| | | | order.
* #802 #890 Linux boot: PXE and rEFInd use grubx64.efi (it's copied as ↵Irina Gómez2019-10-211-10/+6
| | | | ogloader.efi). NVRAM, bootOs and start operating system from console use shimx64.efi.signed.
* #802 #890 Fixed error in ogRefindInstall: boots linux correctly and shows a ↵Irina Gómez2019-10-181-17/+22
| | | | menu entry for ogLive when secure boot is inactive.
* #802 #889 Fix problem when windows is updated. ogCopyEfiBootLoader and ↵Irina Gómez2019-10-171-6/+9
| | | | ogRestoreEfiBootLoader: \ * It saves directory Microsoft/Boot of ESP in directory ogBoot into system partition. \ * When it is creating a image, if in ESP exists the directories Microsoft y Part-X-Y it copy Part-X-Y. \ * When it restore a image, it rename directory Microsoft of ESP to Microsoft.
* #928 Multicast ports are allowed from 9000 to 9098. Port 9100 is assigned to ↵Irina Gómez2019-10-101-1/+1
| | | | bacula Director.
* #914: Permanently remove unused functions: ogInstallLinuxClient and ↵Ramón M. Gómez2019-10-071-37/+0
| | | | ogInstallWindowsClient.
* #914: Removed code from unused functions: ogInstallLinuxClient and ↵Ramón M. Gómez2019-09-251-95/+8
| | | | ogInstallWindowsClient.
* #928 Multicast ports are allowed from 9000 to 9100.Irina Gómez2019-09-231-1/+1
|
* #922 Fixing code cleanup: the^CgLiveAdapter.lib content is located in ↵Irina Gómez2019-09-202-19/+5
| | | | ogGrubInstall.
* #922 ogBootLoaderHidePartitions: Partition data will not hidden. Support ↵Irina Gómez2019-08-301-16/+26
| | | | several disk. Compatibility with grub.cfg create by ogLive 5.0.
* #922 Fixes create of grub.cfg by ogGrubInstall: In '/etc/grub.d/00_header' ↵Irina Gómez2019-08-211-0/+4
| | | | when 'pkgdatadir' is empty it takes same value than other ogLive.
* #802 #890 ogGrubInstallXx: grub's first stage finds grub.cfg correctly for ↵Irina Gómez2019-08-081-26/+17
| | | | computers no UEFI.
* Functions for management Windows Registry: chntpw need '-e' option for edit ↵Irina Gómez2019-07-311-1/+1
| | | | registry (in ogLive bionic-5.0.0)
* Fixs multicast error: create 'read' alias defining line break character as ↵Irina Gómez2019-07-261-0/+15
| | | | default delimiter.
* #920: Truncate a long serial number.Ramón M. Gómez2019-07-251-5/+9
|
* #920: Filter more strings by retrieving the client's serial number.Ramón M. Gómez2019-07-251-2/+2
|
* ogGetEsp has been modified to handle with nvme disks, in that case, blkid ↵Juan Manuel Bardallo juanmanuel.bardallo@sic.uhu.es2019-07-011-3/+11
| | | | | | | | | | returns > /dev/loop0 > /dev/nvme0n1 > /dev/nvme0n1p1 When ogDevToDisk processes the line /dev/nvme0n1, $PART contains only one argument corresponding to the disk number, when occurs, ogGetPartitionId throws an error.
* #906: Fix bug when defining a cache partition on NVMe disks.Juan Manuel Bardallo2019-06-271-3/+5
|
* #802 #888 ogRefindInstall: ogRefindInstall: rEFInd bootloader is signed with ↵Irina Gómez2019-06-131-34/+38
| | | | OpenGnsys certificate.
* #802 #888 #890 ogNvramAddEntry function allows disk and partition as params ↵Irina Gómez2019-06-052-19/+18
| | | | and creates a entry with 'Part-D-P' name that uses generic loader of OpenGnsys. ogGrubInstall uses shimx64.efi.signed of ogLive Ubuntu 18. Previously this function used shim of tftp of server.