234 Commits

Author SHA1 Message Date
Tom Elliott
43e7edf786 Should try to ensure we do MPA things when image type is MPA 2025-12-21 07:51:23 -06:00
Tom Elliott
8893d32bfb Sort the drives, but let lsblk be the commanding order of the drives 2025-10-14 04:52:24 -05:00
Tom Elliott
7a8264cf25 Should allow ability to define kernelarg == largesize="anything" to force largest disk to be primary disk. Otherwise will take the first ordered disk as the primary drive 2025-09-19 14:47:10 -05:00
Tom Elliott
3f44c60ec2 Should fix name ordering 2025-09-19 08:03:24 -05:00
Tom Elliott
dda9e28bc8 Should hopefully help with #100 again, but be a little less repeating in logic 2025-07-31 07:49:48 -05:00
Tom Elliott
2e501640e7 Should address introduced bug and maintain functionality found from #100. 2025-07-31 07:01:33 -05:00
Tom Elliott
710c27c4ed Should fix fdrive lookups 2025-07-31 06:32:40 -05:00
Tom Elliott
b3e34926b3 Stop escaping forward slashes 2025-07-15 05:11:21 -05:00
Tom Elliott
89b9608371 Should fix typoed double semicolon 2025-07-14 08:32:48 -05:00
Tom Elliott
0ceb4edc3e More refinement and hopeful dig in to debug for #100 and future proofing 2025-07-01 06:58:48 -05:00
Tom Elliott
a6e712395e Attempt to add UUID and make sure all search elements besides disk name are matched case insensitive for #100 2025-07-01 06:35:01 -05:00
Tom Elliott
887ec3abff Should fix the source of partition-funcs.sh 2025-07-01 06:20:02 -05:00
Tom Elliott
d50ae1de7b Refactored getHardDisk function 2025-07-01 06:18:28 -05:00
Tom Elliott
24d86d310e Should try to fail out if the fdrive param does not exist. 2025-07-01 05:59:38 -05:00
Tom Elliott
84036c68e6 Hopeful adjustment/fix for #105 2025-06-30 07:16:10 -05:00
rluzuriaga
d316ba2f97 Update testdisk to from 7.1 to 7.2 2025-04-29 11:22:41 -07:00
rluzuriaga
2fe1159027 Update chntpw patch to remove GCC compile errors due to old C lang code 2025-04-29 11:22:41 -07:00
rluzuriaga
77e219c3c4
Update partclone to 0.3.33 2025-01-07 16:43:35 -08:00
Rodrigo Luzuriaga
0efdd68f17
Add graphics card information to hardware inventory 2024-09-04 12:32:54 -07:00
Tom Elliott
c0238723ce Should ensure imagePath is set to 775 instead of 777 2024-08-07 06:01:00 -05:00
rluzuriaga
51e94b0f96 Update Partclone to 0.3.32 2024-08-03 21:53:46 -07:00
Tom Elliott
a555114cdc Should ensure we do user checking in the registration portion as well, otherwise anyone could rebuild and abuse this portion 2024-08-02 04:16:12 -05:00
Tom Elliott
f04a10aa9f Should add token getter and hinfo gather appropriately 2024-07-20 09:22:33 -05:00
Tom Elliott
832b062676 Should split osid appropriately 2024-06-20 12:35:49 -05:00
Tom Elliott
cfdfe82d82 Should update osids to be able to use Windows 11 and Windows Server 2024-06-20 10:23:15 -05:00
Tom Elliott
8661180056
Merge pull request #52 from h3krn/master
Exclude extended partitions from resize calculation

Performing merge, thanks for this and apologies for the time.
2024-06-19 08:51:53 -05:00
Tom Elliott
8d2b58a47e Fix typo on dev item, switch to use awk for lowering, exit appropriately 2024-06-18 13:42:01 -05:00
Tom Elliott
57e92a1968 Attempt a fix of S40Network to nolonger require domacset and only change mac if necessary 2024-06-18 13:22:16 -05:00
Tom Elliott
9c978042ad Ensure we re-pick up dhcp 2024-06-10 10:10:38 -05:00
Tom Elliott
e82d449566 Ensure we get the dhcp IP back 2024-06-10 10:07:16 -05:00
Tom Elliott
c15c2feed8 mac is definitely defined so use it when necessary 2024-06-03 06:19:36 -05:00
Tom Elliott
e8d3430ded do not rely entirely on mac0 2024-06-03 06:18:48 -05:00
Tom Elliott
345a5364ac Ensure we set mac0 as thats defined after getting IP address 2024-05-29 05:42:52 -05:00
Tom Elliott
547fbbaefe Ensure we exit after getting IP address 2024-05-29 05:38:23 -05:00
Tom Elliott
ecbe75b2b8 Add ability to set your own mac 2024-05-28 05:36:27 -05:00
Tom Elliott
b34c6b3562 Add domacset capability
1. This presumably adjusts passthrough macs.
2. Thank you George :)
3. See here why I am thanking:
https://forums.fogproject.org/topic/15885/hp-probook-430-g8-system-mac-not-passing-through-usb-type-c-dongle/11?page=1
2024-05-22 05:41:53 -05:00
Rodrigo Luzuriaga
dc9656b08f
Update Linux Kernel version to 6.1.89, update Buildroot version to 2024.02.1, & fix partclone compilation error 2024-04-30 14:57:47 -07:00
Rodrigo Luzuriaga
89c901f8c8
Update Linux Kernel version to 6.1.63 & Update Buildroot version to 2023.02.7
- Created patch to allow partclone to build with the newer version of Buildroot.
- Updated partclone from v0.3.20 to v0.3.27
- Removed our package for gptfdisk since Buildroot has a newer patched version.
2023-12-07 16:21:00 -08:00
Rodrigo Luzuriaga
45ba692315
Add NVMe drive inventory information, thanks @rluzuriaga 2023-08-06 23:34:32 +02:00
Rodrigo Luzuriaga
86d3d27f93
Add XFS partition imaging support, thanks to @rluzuriaga 2023-03-31 11:16:57 +02:00
Rodrigo Luzuriaga
39cd6e75f4
Add support for wiping NVMe drives using nvme format, thanks @rluzuriaga 2023-03-01 00:00:07 +01:00
Rodrigo Luzuriaga
8b299922a0
Add server disk space check for mounted share when capturing an image, thanks to rluzuriaga
Resolves #60
2023-02-23 22:51:29 +01:00
ъыь
17b9a065c5
Make the init boot up so it doesn't wait indefinitly on network errors, thanks to @WhiteAls
If we have problems with DHCP or we can't reach the FOG web server, then the network script will wait for user input indefinitely.
In unattended scenarios (cron induced capture) this will lock system until user will notice the problem. For my case the problem is often resolved by simple reboot (seems like a spanning tree problem, but it is strange that simple reboot solves the problem).
I do undestand that user should have the ability to analyze the problem by reading on screen log, but there is no need to wait for input indefinitely. Instead, we can use `read -t 60` or less, as we will hit another 60 seconds timeout in the next script
2023-02-22 21:19:47 +01:00
Pieszka
61afc337fd
Fixed typo in tmpEBRFileName function, thanks to @Piotr86PL 2023-02-20 22:21:36 +01:00
Rodrigo Luzuriaga
c252355d0d
Add support for F2FS imaging and expanding F2FS on deployments, thanks @rluzuriaga 2023-01-09 23:57:46 +01:00
H3Krn
4f7aff9a84
Exclude extended partitions from resize calculation 2022-12-01 16:34:13 +01:00
Sebastian-Roth
9294193b55
Update partclone to v0.3.20 and buildroot to v2022.02.6 (#51)
* Update partclone to version 0.3.20

* Update buildroot to version 2022.02.6

* Add libdl when linking the binaries because libcrypto was added as new dependency to partclone but libcrypto itself is not linked static and needs dlopen/dlsym/dlclose calls.

* Switch to XZ archive as buildroot does not provide BZ2 anymore.
2022-11-17 10:56:19 +01:00
Sebastian-Roth
4662011551
Change mount commands to fix exFAT-FS errors on BTRFS mounts, thanks to @Piotr86PL 2022-10-06 10:16:33 -05:00
Piotr86PL
92250a8794 Change mount commands to fix exFAT-FS errors 2022-10-01 17:47:31 +02:00
Piotr86PL
3ee6684823 Change of two messages as they become too long 2022-10-01 17:16:54 +02:00