Jarrod Johnson
e5a748f0a2
Fix coreos pre-pivot to work better
2021-12-01 16:00:36 -05:00
Jarrod Johnson
7f476d64b5
Update style of nodesetboot usage message
2021-12-01 15:33:21 -05:00
Jarrod Johnson
90f3d5f323
Fix syntax error in coreos pre-pivot
2021-11-30 09:14:51 -05:00
Jarrod Johnson
00e853130f
Fallback to other location for grub
2021-11-29 16:03:06 -05:00
Jarrod Johnson
a4b1f1d30a
Fix typo in fedora coreos signature
2021-11-29 15:54:38 -05:00
Jarrod Johnson
5718e07238
Treat empty attributes as unset
...
This fixes behavior when, for example, crypted.rootpassword
is explicitly blanked
2021-11-29 11:22:48 -05:00
Jarrod Johnson
d049934626
Add a breadcrum to distinfo.yaml to indicate where an image came from
2021-11-29 09:55:38 -05:00
Jarrod Johnson
425f5276b3
Merge pull request #82 from PenghuiCui/master
...
Support getting message extention in plugin
2021-11-29 07:17:36 -05:00
Penghui Cui
079a04b28b
Support getting message extention in plugin
2021-11-25 10:01:35 +08:00
Jarrod Johnson
2e10289807
Invoke mkinitrd after zypper runs
2021-11-22 10:46:23 -05:00
Jarrod Johnson
e1c15cca8e
Switch to secureboot signed grub for ubuntu
...
It was pulling an efi binary incompatible with secureboot before.
2021-11-19 11:34:06 -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
398563df55
Add dirname to the ubuntu diskless
2021-11-18 16:14:44 -05:00
Jarrod Johnson
e653c5dff6
Switch to bash for running functions
...
functions is a bashified facility. Just use bash for it rather
than making it busybox friendly.
2021-11-18 14:56:38 -05:00
Jarrod Johnson
1b7d63da5d
Fix wrong sense of apikey
2021-11-18 13:12:56 -05:00
Jarrod Johnson
c02651b2de
Switch from fork to source for premount
2021-11-18 12:56:53 -05:00
Jarrod Johnson
4316b8690e
Make oscategory consistent for ubuntu
2021-11-18 12:38:11 -05:00
Jarrod Johnson
045caadff9
Add ubuntu scheme to boot assets in imgutil
...
This brings us to the redhat, suse, and ubuntu schemes being understood.
2021-11-18 12:12:55 -05:00
Jarrod Johnson
095339ed90
Have apt-get not prompt to install
2021-11-18 11:43:25 -05:00
Jarrod Johnson
5769cba3d1
Provide functions and update imageboot for ubuntu diskless
2021-11-18 11:25:51 -05:00
Jarrod Johnson
75c5151567
Add hook to hook the premount script
2021-11-18 10:42:22 -05:00
Jarrod Johnson
4a724f28bd
Package imgutil ubuntu content
2021-11-18 10:12:34 -05:00
Jarrod Johnson
ecb9a6633e
Ignore common malformed dhcpv6 request
2021-11-18 09:16:57 -05:00
Jarrod Johnson
bf4842baa9
Provide a starter profile for ubuntu diskless
2021-11-17 16:18:06 -05:00
Jarrod Johnson
172515a6e8
Add packaging of ubuntu20.04-diskless
2021-11-17 16:05:00 -05:00
Jarrod Johnson
dde9eebf92
Further advance ubuntu diskless implementation
2021-11-17 15:57:21 -05:00
Jarrod Johnson
6b8dec7764
Fix license save through collective
2021-11-17 15:56:36 -05:00
Jarrod Johnson
9e47c1cfed
Add mktemp to the confluent hook
2021-11-17 11:15:23 -05:00
Jarrod Johnson
4a13711972
Fix discovery of pre-nonce firmware
2021-11-17 09:39:34 -05:00
Jarrod Johnson
44cc580364
Correct handling of blank value in attribute
2021-11-17 09:24:26 -05:00
Jarrod Johnson
cc1b887c31
Allow blanking to disable a crypted password
2021-11-17 09:00:58 -05:00
Jarrod Johnson
ef324daf52
Advance ubuntu diskless
...
Add tpm2 and fuse dependecies that were missing.
Begin draft work on the init-premount script.
2021-11-16 17:03:48 -05:00
Jarrod Johnson
cd1dff7c42
Add tpm2-tools to pkglist and switch to apt
...
The debootstrap was inadequate to
cover tpm2-tools, switch to apt.
2021-11-16 13:15:18 -05:00
Jarrod Johnson
10c019df2a
Fix ordering of chmod arguments
2021-11-16 11:42:46 -05:00
Jarrod Johnson
bd9c261534
Implement initramfs customization for debian build
...
The initramfstools are extended
to naturally create the materials needed to do diskless.
2021-11-16 11:33:58 -05:00
Jarrod Johnson
c11da229b0
Amend draft ubuntu diskless
...
Have imgutil build work to call
debootstrap with a pkglist that appears to succeed.
2021-11-16 07:44:41 -05:00
Jarrod Johnson
2ef2e4d039
Fix gathered output with non-rectangular geometry
...
If we don't have a nice rectangular count of systems,
the last row must tolerate index error in column.
2021-11-16 06:37:59 -05:00
Jarrod Johnson
8ee3630aa1
Simplify get_nonce
...
Use the helper function, for example
to cope with the prospect of gzip response.
2021-11-15 16:09:17 -05:00
Jarrod Johnson
01a21ec248
Correct syntax error
2021-11-15 11:43:10 -05:00
Jarrod Johnson
218b914754
Fix relative pkglist includes
2021-11-15 11:42:15 -05:00
Jarrod Johnson
d59ac74f3a
Support relative path on < include
...
For pkglist and syncfile, detect
relative path and interpret relative
to the file that does the include.
2021-11-15 11:34:34 -05:00
Jarrod Johnson
7b23ee9c7c
Organize squeeze vertically
...
The web gui and ls on cli use organize output this way,
so squeezed node output should be same.
2021-11-15 10:25:00 -05:00
Jarrod Johnson
55fc3bda51
Fix nodersync with output redirection
...
Variables were left unitialized, use them only
in the tty path.
2021-11-15 09:20:31 -05:00
Jarrod Johnson
d5e4d1b90a
Add navigating nonce login for xcc discovery
...
The nonce login from newer firmware is now required.
2021-11-12 11:27:58 -05:00
Jarrod Johnson
cde45bb170
Commence draaft work on ubuntu diskless
...
Provide a initramfs hook (akin to dracut module) and
a potential pkglist to cover what debootstrap does not
provide by default.
2021-11-11 16:41:13 -05:00
Jarrod Johnson
524f0d460f
Have imgutil exec manifest / mount
...
When execing, make the environment see
the '/' normally in mount/df contexts.
2021-11-11 12:05:53 -05:00
Jarrod Johnson
2b6418bc33
Script to walk identify light along a noderange
2021-11-10 15:19:37 -05:00
Jarrod Johnson
9a6d422fd8
Fix the python3 of rsp read
2021-11-09 16:01:45 -05:00