Jarrod Johnson
0bd6aae76f
Construct tgz for site
...
This is needed for vmware
deployment support.
2020-06-08 14:03:58 -04:00
Jarrod Johnson
fa9f9c1d99
Tolerate certain HTTP clients
...
Some HTTP clients put the port
number into the host header.
We don't care about port number.
2020-06-08 11:29:31 -04:00
Jarrod Johnson
0a2ab341a8
Increase root directory size
...
ESXi demands a lot of files, increase
the root directory by a large amount
to fit esxi.
2020-06-04 15:16:45 -04:00
Jarrod Johnson
58e7a1f0b4
Recognize ESXi media
...
Fingerprint ESXi media, at
least tested with ESXi 7 media.
2020-06-04 14:58:52 -04:00
Jarrod Johnson
0016c31fef
Fix encrypted boot on 8.1
...
8.1 requires -f or it will fail.
2020-06-04 13:41:00 -04:00
Jarrod Johnson
f505b3ad16
Fix grub hash bytes
...
In python3, need to coerce the strings
to str or else end up with invalid grub password.
2020-06-04 10:27:55 -04:00
Jarrod Johnson
d17a2054d4
Add warning about encryptboot to Ubuntu
2020-06-03 16:22:41 -04:00
Jarrod Johnson
97e7dbc936
Improve the SUSE encryption error
2020-06-03 16:18:24 -04:00
Jarrod Johnson
7da29c17e1
Try to add error on encryptboot for SUSE
...
We don't support under suse, so let the user know if they try.
2020-06-03 15:33:10 -04:00
Jarrod Johnson
942685b48d
Amend confetty fix
...
shlex.join is not widely
available, switch to just
skipping the split if pre-split
by the calling process.
2020-06-03 14:58:30 -04:00
Jarrod Johnson
21e97689bc
Fix handling of complex embedded args
...
If pulling from argv, it has already been
shell split. Use shlex to join to correctly
requote anything that needs quoting.
2020-06-03 13:52:14 -04:00
Jarrod Johnson
8ddcdf625b
Fix SSDP issue in python3
...
A bytes was split by str, fix this.
2020-06-03 13:05:40 -04:00
Jarrod Johnson
427a518673
Fix Ubuntu prescript
...
Forgot a hyphen
2020-06-03 11:26:34 -04:00
Jarrod Johnson
8797189d5c
Reduce sensing responses
...
Do not respond to a node
if we do not have any expectation
of deploying to that system.
Mitigates troubles of having multiple
confluent servers with the same
nodes.
2020-06-03 10:11:46 -04:00
Jarrod Johnson
762685459c
Add confluent CA to installed EL8
...
Needed to continue boot process during install
2020-06-02 17:44:19 -04:00
Jarrod Johnson
f86429c83c
Fix credserver
...
The grubhash should only fill in if there is a value to fill in.
2020-06-02 16:47:50 -04:00
Jarrod Johnson
82ab56ebb4
Add boot encryption support to EL8
...
The stock profile should now encrypt if requested
2020-06-02 16:05:44 -04:00
Jarrod Johnson
9f4c02dc83
Fix grub hash storage of password
2020-06-02 12:47:47 -04:00
Jarrod Johnson
033903f712
Fix typo in configmanager
2020-06-02 11:38:03 -04:00
Jarrod Johnson
cf9f4a9691
Add grub password to attributes
...
This permits opting into using
a password to block editing
of grub configuration.
2020-06-02 10:59:30 -04:00
Jarrod Johnson
77586c7f4d
Add comment to SUSE
2020-06-01 16:03:53 -04:00
Jarrod Johnson
886aade5dc
Refactor SUSE installs
...
Apply same comment principles to suse as was
applied to redhat.
2020-06-01 16:01:26 -04:00
Jarrod Johnson
d8266ea6c9
Update firstboot to have some comments
...
Make it clearer how it would be edited.
2020-06-01 12:25:30 -04:00
Jarrod Johnson
e326671057
Add python3-yaml to requires
...
Ensure yaml support installs in EL8.
2020-06-01 12:02:21 -04:00
Jarrod Johnson
700afc6606
Fix function definition
...
Sourcing the functions was causing a hang.
2020-06-01 11:12:28 -04:00
Jarrod Johnson
e7cb3f9a0c
Add the refactored files
...
The refactoring put the files in new places,
add those to tracking.
2020-06-01 10:52:38 -04:00
Jarrod Johnson
0254963432
Add some commentary to help users
...
Embed comments to help users understand
how to customize a bit better.
2020-06-01 10:52:01 -04:00
Jarrod Johnson
110fb27b2a
Refactor the kickstart for EL8 a bit
...
Based on early feedback, working towards a less
intimidating script set for the sake of not
needing a 'postscripts' facility.
2020-06-01 09:08:41 -04:00
Jarrod Johnson
116682082a
Fix reply on nonfunctional nic
...
If a nic was up but without IPv4,
do not reply even if the kernel is
'helping' us to be in the ballpark.
2020-05-29 17:32:45 -04:00
Jarrod Johnson
2c1ca170e5
Fix python3 issues in ssdp
...
In python2, they are already bytes.
In python 3, we need to check and convert if not already bytes.
2020-05-29 16:12:23 -04:00
Jarrod Johnson
e648c9c065
Fix typo in pxe handler
2020-05-29 12:58:14 -04:00
Jarrod Johnson
c1576e9787
Handle blank lines without error
...
Do not trigger syntax error on a blank expression.
2020-05-29 12:23:57 -04:00
Jarrod Johnson
6ee9ccbc27
Fix python3 idxtoname
...
python3 needs it to be str, not
bytes as C would return.
Accomodate only for python3, leave
python2 the same.
2020-05-29 12:06:00 -04:00
Jarrod Johnson
2a9d4e8079
Avoid breaking net config with '' DNS server
...
The node is probably misconfigured, but tolerate it
and carry on so that networking will at least
come up.
2020-05-29 08:58:33 -04:00
Jarrod Johnson
335d06ea4c
Default to US if management node is n/a
...
localectl can be n/a for some scenarios,
default to US for such cases.
2020-05-28 17:07:17 -04:00
Jarrod Johnson
17b8000c0f
Fix ethernet support
...
In accomodating the 20 byte
IB hwaddr, it could no longer
accept the 6 byte.
Adapt to all destination addresses up to 20.
2020-05-28 16:49:59 -04:00
Jarrod Johnson
5f170585c5
Adjust SUSE logic to work
...
Finding the apache configured
TLS cert location now works in
an easy configuration.
2020-05-28 16:47:36 -04:00
Jarrod Johnson
356de251ee
Boot over IB support
...
IB is a bit different in broadcast
and certainly address length. Be
adaptive for those values.
Further, OPA port addr can get
mangled in the middle of a
transaction, recognize both the
full and mangled variant.
2020-05-28 15:37:30 -04:00
Jarrod Johnson
405bd84ce2
OS import fixes for python 2
...
Python 2 does not have some
of the tricks we were using, replace with python 2 friendly tricks.
2020-05-28 11:09:24 -04:00
Jarrod Johnson
e9a14bd180
Have PXE content adapt to OS
...
Detect the respective paths
of tftp servers in the three supported distributions.
2020-05-27 17:05:04 -04:00
Jarrod Johnson
c3fedf7309
Fix missing import isn osimage
2020-05-27 12:16:24 -04:00
Jarrod Johnson
da8baa2ccb
Fix missing libarchive dep
...
confluent now requires
libarchive to run.
2020-05-27 11:46:54 -04:00
Jarrod Johnson
4480d0418e
Fix permissions of SSH CA key
...
It was creating CA as root, which
blocked confluent functionality.
2020-05-27 08:58:10 -04:00
Jarrod Johnson
987ac22b4e
Fix permission issues with sshutil
...
uid management was done incorrectly
2020-05-22 18:13:00 -04:00
Jarrod Johnson
6471599bb2
Fix public/os permissions
...
When using osimage import,
the permissions on os directory
were too strict. Relax permissions
on public/os
2020-05-22 17:55:22 -04:00
Jarrod Johnson
05983201ee
Fix mistaken use of $proto variable
...
Always use https to fetch the script
2020-05-22 15:59:19 -04:00
Jarrod Johnson
b20517bd82
Add missing mtools dependency
2020-05-22 15:47:57 -04:00
Jarrod Johnson
4e8e44605a
Merge branch 'master' into osdeploy
2020-05-22 15:47:04 -04:00
Jarrod Johnson
d75867050c
Fallback when pyte contains unknown colors
...
This allows nodeconsole to connect to Ubuntu
installer, for example.
2020-05-22 15:46:16 -04:00
Jarrod Johnson
b4374817f5
Move getinstalldisk into profiles
2020-05-22 15:27:25 -04:00