Commit Graph

221 Commits (e2cb6a466b6b4842d894041d1f189e3648f6648f)
 

Author SHA1 Message Date
Luis Gerardo Romero Garcia e2cb6a466b refs #1134 Use unique ogboot php fpm 2024-11-13 18:07:54 +01:00
Luis Gerardo Romero Garcia 8c4310d85e refs #1134 Fix bug that in installer creates oglive_info.json with root 2024-11-13 16:16:47 +01:00
Luis Gerardo Romero Garcia 992a52edbd refs #1134 use php-fpm opengnsys 2024-11-13 16:05:16 +01:00
Luis Gerardo Romero Garcia edd1bb7b0a refs #1134 changes all permissions to opengnsys 2024-11-13 15:40:40 +01:00
Luis Gerardo Romero Garcia 74093bf18d refs #1134 changes all permissions to opengnsys 2024-11-13 15:40:28 +01:00
Luis Gerardo Romero Garcia 4f222c2692 refs #1133 #1134 #1137 adds oglive default to conf, adds new templates to the installer, adds default template to sustitute ip ogboot 2024-11-13 08:25:34 +01:00
Luis Gerardo Romero Garcia ce06044bf1 refs #1095 updates endpoint template and boot file 2024-11-08 10:24:50 +01:00
Luis Gerardo Romero Garcia c7a87f96c1 refs #1055 adds ogadmeClient template and use ogcore ip to generate ogAdmClient.cfg to the client 2024-11-07 16:58:06 +01:00
Luis Gerardo Romero Garcia 780d17310b refs #1095 updates readme with installation steps and oglive api 2024-11-05 14:25:02 +01:00
Luis Gerardo Romero Garcia 6576a4c9ec refs #1100 Adds TFTPPATH to nginx template 2024-11-05 12:44:53 +01:00
Qindel 710fe4c237 refs #1046 adds new templates to boot by disk and partition. Adds grub.exe to boot disk/partition in BIOS mode. Adds a new default.ipxe that unifies BIOS and UEFI mode 2024-11-04 08:36:53 +00:00
Luis Gerardo Romero Garcia e96f6b1d39 refs #404 Merge oglivecli-no-daemon into main, resolved conflicts and retained necessary files 2024-10-24 11:16:36 +02:00
Luis Gerardo Romero Garcia 653f8d6061 refs #871 #872 adds validations to dont enter in another directory in pxe and pxe-templates like etc passwd 2024-10-24 08:59:12 +00:00
Luis Gerardo Romero Garcia a005dec399 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 2024-10-23 07:44:17 +02:00
Luis Gerardo Romero Garcia c5eb804291 refs #1026 #1027 adds new ogboot ip parameter to installer and adds it to the .env file. Changes url from oglives list to point to ognproject artefactos 2024-10-22 19:30:37 +00:00
Natalia Serrano b57e80aa00 refs #1025 fix whitespace 2024-10-22 15:31:24 +00:00
Natalia Serrano 9cf9742ec8 refs #1023 #1024 refactor code, fix a returncode 2024-10-22 15:27:58 +00:00
Natalia Serrano ab79c9f6eb refs #1016 chdir() out of a deleted directory 2024-10-22 15:18:04 +00:00
Natalia Serrano dd44a43ec2 refs #1016 build ipxe in a tempdir 2024-10-22 11:18:32 +00:00
Natalia Serrano d89320ea09 refs #1015 fix addition of entries to fstab 2024-10-22 10:34:40 +00:00
Natalia Serrano 5c5a6a1e4d refs #1014 remove "global" statements 2024-10-22 10:23:41 +00:00
Natalia Serrano ff09ae25ec refs #1013 do not restore envvars 2024-10-22 09:57:53 +00:00
Natalia Serrano b01cc2ef78 refs #1012 run "dpkg -s" just once 2024-10-22 09:55:45 +00:00
Qindel 943467a8ad refs #1001 removes all hardcoded routes in the controller and dynamically manage tftpboot directory for all endpoints. Fix some index problems in installer and comments tzConfigure function that is failingright now 2024-10-22 08:01:47 +00:00
Luis Gerardo Romero Garcia 1e406be464 refs #999 #943 standardize output in pxe endpoints, now creates pxe files in lower case 2024-10-22 07:45:59 +00:00
Natalia Serrano ff4a18be08 refs #1001 #1002 #1003 #1004 #1005 #1006 fix lots of stuff 2024-10-21 16:03:09 +00:00
Luis Gerardo Romero Garcia a98fd3ccf0 refs #983 adds ogcore url to .env and removes some innecesaries config params in installer 2024-10-21 12:31:57 +02:00
Luis Gerardo Romero Garcia d34f1dd22e refs #875 #863 #949 #943 #969 Adds env variable ogcoreIp, changes command script to use the ogcoreIp, changes getTemplate to standardize output, adds pxe endpoint to format mac 2024-10-18 13:29:30 +00:00
Luis Gerardo Romero Garcia 8264459a6b refs #949 #943 #969 fix Command output return, add Command in the services.yaml, adds url to the oglives downloables 2024-10-18 06:24:36 +00:00
Luis Gerardo Romero Garcia 21409e850b refs #949 #943 #969 adds Command install oglive to install oglive in backgroung, adapts set oglive default with the new output format 2024-10-17 06:07:07 +00:00
Luis Gerardo Romero Garcia 171769c6e1 refs #943 adds nelmio api doc with oglive and instalable oglive schemas 2024-10-15 16:43:48 +02:00
Luis Gerardo Romero Garcia fedd164b02 refs #868 #864 #866 #949 #943 #870 Return hard info of disk usage, adds id to get default oglive, return error code in oglivecli, control error code in service and controller endpoints, updates swagger documentation in some oglives endpoints, adds new errores 400 and 404 in oglivecli functions and control errores in getOglives, getOgliveDefault and uninstall. Dont allow to uninstall default oglive 2024-10-15 12:51:55 +00:00
Luis Gerardo Romero Garcia 3b26f78a2d refs #943 creates a json with the info when install a new oglives, changes functions to consult the json to obtain info 2024-10-14 15:53:14 +00:00
Luis Gerardo Romero Garcia 174d659fe2 refs #788 changes www.conf directory depending on php version installed, dont add fstab if is already isntalled 2024-10-07 12:54:57 +02:00
Luis Gerardo Romero Garcia f7daf2f5f9 refs #404 fix fstab adding noauto amd checking if line exits 2024-09-27 08:31:25 +02:00
Luis Gerardo Romero Garcia b397c7aaa9 refs #404 A lot of changes, in oglivecli removes some sudos, in installation adds new line in fstab to mount oglive iso, adds ogboot to disk group to use loop devices, now we are downloading ipxe repo from github and executing make, adds a new php-fpm ogboot pool with ogboot permissions and not use www pool, changes nginx template to use the ogboot pool. For last depure core, deletes some comments and useless prints 2024-09-26 12:34:32 +02:00
Luis Gerardo Romero Garcia fa8cc772f9 refs #404 deletes a lot of useless functions, changes some shell commands to manage files and directories to python commands, adds try except blocks in all main funcions and in the oglivecli download oglive 2024-09-24 10:28:40 +02:00
Luis Gerardo Romero Garcia 0fb46b1f2b refs #763 Deletes all sudo commands, modifies squashfs logic, readjust some code in setsmbpass, adds some comprobations and clean code 2024-09-20 10:43:29 +00:00
Luis Gerardo Romero Garcia a2977166ea refs #404 adds checksum id to the get_default function in oglivecli 2024-09-11 11:48:10 +02:00
Luis Gerardo Romero Garcia 92b058532e refs #649 adds the id of the oglive to the install return from oglivecli 2024-09-06 09:28:47 +00:00
Luis Gerardo Romero Garcia 0120a101ab refs #404 Unifies all the apt install in one install 2024-09-06 11:21:06 +02:00
Luis Gerardo Romero Garcia bfab3e9af7 refs #404 Resolves ogbootcontroller conflict 2024-09-06 11:18:41 +02:00
Luis Gerardo Romero Garcia a57369ad93 refs #404 deletes innecesaries shell scripts from install 2024-09-06 11:14:47 +02:00
Luis Gerardo Romero Garcia a11051c05f refs #649 adds webhook sender to notify when is installed oglive to the ogcore 2024-09-06 07:43:33 +00:00
Luis Gerardo Romero Garcia 86523a416f refs #649 adds ipxe template example to swagger documentation and adds new comprobations to post template 2024-09-05 15:09:23 +02:00
Luis Gerardo Romero Garcia 7412653ebb refs #404 removes ogboot_daemon and adds permisions ogboot to /tmp/opt/ogboot to install oglives 2024-09-05 15:09:23 +02:00
Luis Gerardo Romero Garcia e7a88d5f01 refs #535 Escape some characters in samba perl execution 2024-09-05 15:09:23 +02:00
Luis Gerardo Romero Garcia f02f60a114 refs #535 Adds program dir to open the config.json 2024-09-05 15:09:23 +02:00
Luis Gerardo Romero Garcia 7148199f68 refs #503 adds function to add commands to sudoers 2024-09-05 15:09:23 +02:00
Luis Gerardo Romero Garcia fcbc625545 refs #503 #504 #639 updates config for nelmio swagger and adapts getoglives to oglivecli and adds filename to the json output 2024-09-05 15:09:23 +02:00