Jarrod Johnson
67b3c48dc9
Clean up error output on syncfileclient execution
2024-04-09 14:58:38 -04:00
Jarrod Johnson
02f301b5d0
Fix mistakes in syncfileclient change
2024-04-09 13:41:27 -04:00
Jarrod Johnson
f68f9f4693
Make syncfile step robust or pause
...
If syncfiles fails, keep it retrying.
Also, slow down sync checking to avoid hammering the system.
Further, randomized delay to spread highly synchronized requestors.
Block attempts to do multiple concurrent syncfile runs.
2024-04-09 11:07:11 -04:00
Jarrod Johnson
49e614eb32
Have image2disk delay exit on error
...
Debugging cloning is difficult when system immediately reboots on error.
2024-03-11 17:11:44 -04:00
Jarrod Johnson
68ce3d039d
Filter out nvme 'c' devnames, that are used to refer to paths to nvme
...
Some versions start manifesting nvme devnames with 'c', which
are to be used to interact with multipath to have raw devices
backing a traditional nvme device.
2023-11-27 08:34:34 -05:00
Jarrod Johnson
6e092934e7
Fix for ubuntu clone to nvme
2023-11-09 17:15:17 -05:00
Jarrod Johnson
3cacbf283a
Fix cloning to NVME boot
...
The partition device names
have a different scheme
for nvme v. other devices.
2023-09-07 10:09:19 -04:00
Jarrod Johnson
89e573207c
Remove irrelevant command from ubuntu cloning firstboot
2023-09-01 16:55:01 -04:00
Jarrod Johnson
f16cf4387f
Further Ubuntu enhancements
...
Add confignet to Ubuntu 20 and 22
Add syncfile to the ubuntu diskless/cloning
2023-09-01 16:40:02 -04:00
Jarrod Johnson
abd5f4e9f2
Fix shebang in firstboot on ubuntu cloning
2023-09-01 13:51:02 -04:00
Jarrod Johnson
f6e658c341
Add site CA to ubuntu profiles on install
2023-09-01 13:25:20 -04:00
Jarrod Johnson
44ec390f40
Add post.sh to ubuntu cloning
2023-09-01 12:29:27 -04:00
Jarrod Johnson
6ab91b50af
Add missing bits of Ubuntu diskless
2023-09-01 10:55:18 -04:00
Jarrod Johnson
af4ca64da8
Fix hotplug firmware to use rootfs after boot
2023-08-24 10:53:00 -04:00
Jarrod Johnson
145be7ce31
Correct omission in private key access message during diskless boot
2022-10-07 16:47:48 -04:00
Jarrod Johnson
1b21b9316c
Correct variable typo in imageboot scripts
2021-12-06 09:00:44 -05:00
Jarrod Johnson
6e4c939cd9
Various ubuntu diskless fixes/improvements
...
Needed the real losetup to handle read-only file.
busybox wc is way too slow, use ls instead.
Explicitly make /sysroot and load xfs, as that doesn't happen implicitly.
Accept a dangling symlink as viable init, since this is the case in Ubuntu.
Update hostname and ca certificates consistent with
ubuntu standards
2021-11-19 11:00:50 -05:00
Jarrod Johnson
82a783fa55
Register CA certs in global location for ubuntu
2021-11-18 16:51:18 -05:00
Jarrod Johnson
6d623b046a
Fixes for imageboot.sh with ubuntu
2021-11-18 16:34:27 -05:00
Jarrod Johnson
5769cba3d1
Provide functions and update imageboot for ubuntu diskless
2021-11-18 11:25:51 -05:00
Jarrod Johnson
bf4842baa9
Provide a starter profile for ubuntu diskless
2021-11-17 16:18:06 -05:00