feature: workbench pxe #2

Merged
pedro merged 83 commits from pxe into main 2024-09-28 02:19:31 +00:00

83 Commits

Author SHA1 Message Date
pedro 23f277231a pxe: more on customize pxe menus, give example 2024-09-27 23:18:56 -03:00
pedro d2e5b1f824 pxe: allow personalization of boot menus 2024-09-27 23:18:56 -03:00
pedro 5dbb4a58f3 pxe: more sudo cmds to fix 2024-09-27 23:18:56 -03:00
pedro 2df34e4b23 pxe: a lot of improvements 2024-09-27 23:18:56 -03:00
pedro bd52916b06 pxe: finally this is the thing for nfs
cleanup old deps
2024-09-27 23:18:56 -03:00
pedro 2e57351e1a pxe: ensure systemd is aware of mounts 2024-09-27 23:18:56 -03:00
pedro 97b8de7fd3 pxe: nfs-common dep was in the wrong place 2024-09-27 23:18:56 -03:00
pedro f617526c34 workbench-script: improve err msg for HTTP POST 2024-09-27 23:18:56 -03:00
pedro e527ba611d pxe: improve error msgs in wb-script 2024-09-27 23:18:56 -03:00
pedro abfe9a5ceb pxe: improve autostart script 2024-09-27 23:18:56 -03:00
pedro ddb9b4a105 pxe: add nfs-common 2024-09-27 23:18:56 -03:00
pedro 349e0eb480 pxe: improve autostart 2024-09-27 23:18:56 -03:00
pedro b2e82e7bb9 pxe: trying to fix autostart script 2024-09-27 23:18:56 -03:00
pedro 2a7af1ddab Revert "pxe: we know the server host, is in the config"
This reverts commit 5399d544ee.
2024-09-27 23:18:56 -03:00
pedro 7d16cb8bd4 pxe: fix autostart script 2024-09-27 23:18:56 -03:00
pedro 93a86a8b11 pxe: we know the server host, is in the config 2024-09-27 23:18:56 -03:00
pedro 2fd0d2fdb9 pxe: add ref to dhcp proxy 2024-09-27 23:18:56 -03:00
pedro 6c513cb5d3 bugfix wrong try/except 2024-09-27 23:18:56 -03:00
pedro 103f2f8e79 workbench-script: improve autostart script 2024-09-27 23:18:56 -03:00
pedro c845249a81 pxe: bugfix wrong try 2024-09-27 23:18:56 -03:00
pedro 6ffa9a9304 deploy-workbench: no debug mode when script ended 2024-09-27 23:18:56 -03:00
pedro 19957c608d pxe: add try-exception for writing fallback path 2024-09-27 23:18:56 -03:00
pedro b380450bd4 pxe: snapshot nfs dir, ensure exists 2024-09-27 23:18:56 -03:00
pedro 80edd9e748 add empty readme in english 2024-09-27 23:18:56 -03:00
pedro 9de317adbf pxe: fix snapshot nfs logic 2024-09-27 23:18:56 -03:00
pedro e4b844713e pxe settings.ini: migrate to localhost domain 2024-09-27 23:18:56 -03:00
pedro 21942f26af settings.ini: move to using domain 2024-09-27 23:18:56 -03:00
pedro da026ad0c3 workbench-script: warn when not root 2024-09-27 23:18:56 -03:00
pedro fa4758fdf6 improve docs 2024-09-27 23:18:56 -03:00
pedro ecb9b1649b pxe: do the trick for rw snapshots dir 2024-09-27 23:18:56 -03:00
pedro 52e99064c6 workbench-script: remove ntplib
- it was not being used
- let's delegate this to Operating System
2024-09-27 23:18:56 -03:00
pedro d2c06b760f pxe: move README to spanish 2024-09-27 23:18:56 -03:00
pedro 66a744d108 pxe: fix wrong default path 2024-09-27 23:18:56 -03:00
pedro ab778a881d pxe: more useful warning error 2024-09-27 23:18:56 -03:00
pedro 51af4d3a9b pxe: simplify and avoid error 2024-09-27 23:18:56 -03:00
pedro b99c729125 pxe: simplify with cp 2024-09-27 23:18:56 -03:00
pedro 4fcdcc8955 deploy-workbench: detect nfs env 2024-09-27 23:18:56 -03:00
pedro a70179223a pxe: rsync to copy squashfs 2024-09-27 23:18:56 -03:00
pedro 9e96ae52d0 pxe: change initrd location in tftp 2024-09-27 23:18:56 -03:00
pedro d2431bead7 pxe: come back to the previous directory 2024-09-27 23:18:56 -03:00
pedro 8d54a4c157 pxe: see if squashfs can be a symlink 2024-09-27 23:18:56 -03:00
pedro f0b5b91ccd pxe: force cp 2024-09-27 23:18:56 -03:00
pedro 5aa938f195 pxe: change symlink to cp 2024-09-27 23:18:56 -03:00
pedro 5447aea9e2 pxe: fix directory pxelinux 2024-09-27 23:18:56 -03:00
pedro 95ae7b4144 pxe: bugfix to continue 2024-09-27 23:18:56 -03:00
pedro f8937a2559 pxe: fix netboot conditional 2024-09-27 23:18:56 -03:00
pedro 7bc3e4b69d pxe: recover netboot stuff
yes, finally this is needed too
2024-09-27 23:18:56 -03:00
pedro 5bf01202dc pxe: add missing directory 2024-09-27 23:18:56 -03:00
pedro 9243f55b37 pxe: fix initrd location 2024-09-27 23:18:56 -03:00
pedro f09e9306df pxe: fix symlinks live 2024-09-27 23:18:56 -03:00
pedro 06f1b2231f pxe: simplify a lot the extraction of live parts 2024-09-27 23:18:56 -03:00
pedro e80c58c16f pxe: bugfix wrong symlink 2024-09-27 23:18:56 -03:00
pedro df073d72e4 pxe: fix wrong path 2024-09-27 23:18:56 -03:00
pedro 23f1bc7717 change nfs persistency strategy
it is easier than you thought
2024-09-27 23:18:56 -03:00
pedro 47ea66f013 workbench-script: attempt to write to snapshot dir 2024-09-27 23:18:56 -03:00
pedro e6a3ffd060 no, nfs common is not needed 2024-09-27 23:18:56 -03:00
pedro 37975fc236 pxe: update README 2024-09-27 23:18:56 -03:00
pedro 1e18c84255 pxe: add comment 2024-09-27 23:18:56 -03:00
pedro 71dffb3074 pxe: prepare more the nfs part 2024-09-27 23:18:56 -03:00
pedro b8ffd19b6a deploy-workbench: add nfs as dependency 2024-09-27 23:18:56 -03:00
pedro e3dfe94955 deploy-workbench: protect shell vars 2024-09-27 23:18:56 -03:00
pedro 13b17dbcf7 pxe: fix wrong paths TFTP/PXE 2024-09-27 23:18:56 -03:00
pedro 5aae459ca4 pxe: fix wrong cp 2024-09-27 23:18:56 -03:00
pedro 086d0da3d6 pxe: path live iso 2024-09-27 23:18:56 -03:00
pedro 3113a3f9c2 pxe: fix logic on tftp live parts 2024-09-27 23:18:56 -03:00
pedro 2a0f9371e1 pxe: bugfix FORCE env var 2024-09-27 23:18:56 -03:00
pedro f51f38d677 pxe: probably last details 2024-09-27 23:18:56 -03:00
pedro cc070c2cce pxe: add FORCE for netboot 2024-09-27 23:18:56 -03:00
pedro 0d8dd533ed pxe: try fixing kernel and initrd 2024-09-27 23:18:56 -03:00
pedro 3725f4d42c pxe: fix path of linux and initrd 2024-09-27 23:18:56 -03:00
pedro e4fb74c59c pxe: create dir for nfs 2024-09-27 23:18:56 -03:00
pedro 0e153cec68 pxe: clarify when pxe is finished 2024-09-27 23:18:56 -03:00
pedro 8a5942a287 pxe: dnsmasq: fix tftp path 2024-09-27 23:18:56 -03:00
pedro 2b902f3a5a pxe: better msgs 2024-09-27 23:18:56 -03:00
pedro a7bc751ccd pxe: bugfix wrong cat for nfs 2024-09-27 23:18:56 -03:00
pedro 887cf162c5 pxe: facilitate run 2024-09-27 23:18:56 -03:00
pedro 748a2255eb deploy workbench: bugfix copy of settings.ini 2024-09-27 23:18:56 -03:00
pedro 91b8fa3a4e pxe: improve installation msg 2024-09-27 23:18:56 -03:00
pedro 221b232ba1 bugfix bad netboot config 2024-09-27 23:18:56 -03:00
pedro f888eb39f9 add dnsmasq config 2024-09-27 23:18:56 -03:00
pedro 44be896bb2 deploy-workbench: fixes: mkfs.vfat not found 2024-09-27 23:18:56 -03:00
pedro 65a0137f86 bugfix env location 2024-09-27 23:18:56 -03:00
pedro a60a6e6539 PXE WIP 2024-09-27 23:18:56 -03:00