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
Jarrod Johnson
ef10237cfe
Update smm rules to relax
2021-11-09 15:58:17 -05:00
Jarrod Johnson
94761ba7c6
Refresh SMM fix expiration sample
2021-11-09 15:54:27 -05:00
Jarrod Johnson
b59c88beed
Explain more about need for -c versus =''
...
The concept of inherited and blank override is confusing
and warrants more documentation.
2021-11-09 08:26:35 -05:00
Jarrod Johnson
cbed20bb7f
Fix suse15 firstboot.sh
...
It was stripping the wrong value from the path.
2021-11-09 07:10:38 -05:00
Jarrod Johnson
61eecd672c
Add confignet to default firstboot/onboot as appropriate for el8 and
...
suse15
2021-11-08 16:34:26 -05:00
Jarrod Johnson
8df1c5b8e4
Make confignet available as a 'common' script
2021-11-08 16:23:56 -05:00
Jarrod Johnson
766230bcd3
Fix loop extending pkgs
...
The attempt at include support modified incorrect
list.
2021-11-06 14:38:44 -04:00
Jarrod Johnson
f1bc82cd08
Fix logic of websocket handling
...
Do not fall through to non-websocket path after handling the websocket
2021-11-05 14:15:39 -04:00
Jarrod Johnson
b139f9cd2c
Consistently return string from consume_termdata
...
If None is allowed to return, it can mess up caller.
2021-11-05 11:30:43 -04:00
Jarrod Johnson
a23d5b9b55
Provide both v4 and v6 in deploycfg
...
When implicitly working by lookup, both v4 and v6
were provided, but first match only
on explicit specification.
Correct this discrepency.
2021-11-04 17:20:49 -04:00
Jarrod Johnson
df7d34dc28
Add attribute support for confluent2hosts
...
Implement something akin to makehosts
from xCAT.
2021-11-04 14:44:06 -04:00