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
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
Jarrod Johnson
968400d72b
Update ssh known hosts and tftp
...
This is also required to get install going.
2020-05-22 15:03:56 -04:00
Jarrod Johnson
88436ff129
Merge branch 'master' into osdeploy
2020-05-22 13:56:59 -04:00
Jarrod Johnson
213d440052
Fix certificate watch
...
In python3, it was not working.
If another file got added, it could go
with a busy loop.
2020-05-22 13:55:24 -04:00
Jarrod Johnson
eabf2073c1
Fix construction of site cpio
...
It must include directory names in correct
order for it to unpack correctly
2020-05-22 12:49:33 -04:00
Jarrod Johnson
906855ecf7
Fix cpio generation
...
It needed to be relative path, and also
fix use of bytes fed into cpio.
2020-05-22 11:40:54 -04:00
Jarrod Johnson
59e9ef2215
Create initramfs.cpio
...
This actually enables the site for
booting with site addons.
Use of a temporary name mitigates
problem if multiple collective members
try to init at same time.
2020-05-22 11:05:35 -04:00
Jarrod Johnson
ba0d600bf7
Prepare osimage initialize
...
Provide a helper for the various
setup steps required for
getting ready for OS deployment.
2020-05-21 17:07:58 -04:00
Jarrod Johnson
eda645b792
Freshen up ssh and tls helpers
...
TLS will now work from scratch
SSH user key management updated to final design
2020-05-21 16:26:01 -04:00
Jarrod Johnson
8ce8f18f56
Change certutil to be a module
...
This allows it to be used from within
osimage command.
2020-05-21 15:56:16 -04:00
Jarrod Johnson
0af9db5eb7
Autodetect TLS key/cert locations
...
This facilitates easier getting started when possible.
2020-05-21 15:55:22 -04:00
Jarrod Johnson
22d5da3ae9
Rename certs to pem
...
There are contexts where the .cert name is not
recognized, go for .pem name instead.
2020-05-21 14:37:17 -04:00
Jarrod Johnson
6246d9e0a4
Default to never allowing insecure protocol
...
It erroneously used http rather than https
without user intervention.
2020-05-21 14:29:58 -04:00
Jarrod Johnson
b34f308c8a
Merge branch 'master' into osdeploy
2020-05-21 08:48:27 -04:00
Jarrod Johnson
0800290c8e
Fix checking colleective status
...
In a few contexts, the result of list_collective
was used directly in a boolean context. As an iterator,
it is always true unless coerced into a potentially empty
list explicitly.
2020-05-21 08:47:07 -04:00
Jarrod Johnson
0a79307cc5
Fix scope of keymap
2020-05-19 17:05:43 -04:00
Jarrod Johnson
442902ecd8
Fix mistake in selfservice api
2020-05-19 16:49:07 -04:00
Jarrod Johnson
e696566b42
Add dns domain to deployment
...
This permits the deployment profiles
to pull in specified DNS domain.
2020-05-19 15:07:10 -04:00
Jarrod Johnson
eec7236110
Rename dns server attribute
2020-05-19 14:45:06 -04:00
Jarrod Johnson
ebd41d3e53
Merge branch 'master' into osdeploy
2020-05-19 14:19:26 -04:00
Jarrod Johnson
c5c5b36536
Fix reverse noderange in python 3
...
python3 environments do not natively know the word 'unicode',
in such a case, make unicode an alias for 'str'.
2020-05-19 14:18:35 -04:00
Jarrod Johnson
540d0e1795
Fix SUSE certificate handling
...
SUSE requires things go through update-ca-certificates,
update the generated certs and the post to do that.
2020-05-18 19:37:54 -04:00
Jarrod Johnson
ceefb936c2
Add keymap from donor system
...
RHEL requires this to autoinstall graphically.
2020-05-18 14:17:57 -04:00
Jarrod Johnson
9caf8056ec
Correct split
...
bytes need bytes to split
2020-05-18 13:50:48 -04:00
Jarrod Johnson
317a1c572b
Fix startswith parameter
...
Needed to be bytes for subprocess
2020-05-18 13:30:22 -04:00
Jarrod Johnson
2b39b9b5a6
Correct string in locale defaulting
2020-05-18 13:02:50 -04:00
Jarrod Johnson
5dee338d50
Fix lang in EL8 install
...
While text mode does not care, if user goes down graphical
path, it pauses installer.
2020-05-18 12:52:31 -04:00
Jarrod Johnson
485b5e0dce
Add textconsole to deploycfg
...
It turns out that the SPCR is
not automatically populated.
Provide a hint via deploycfg
as to whether the user has
configured confluent for text
console access.
2020-05-18 10:41:04 -04:00
Jarrod Johnson
b67140248e
Change ipv4_server to deploy_server
...
Use a more neutral name for the deployment server target.
It is still ipv4 only for the moment, but easier to pull in
ipv6 support when not having to change paths that don't care.
2020-05-15 16:06:57 -04:00
Jarrod Johnson
a5adcbd496
Add firstboot to EL
...
Also add 'mgt_server' rather than 'ipv4_server'. Will move to this.
The server should be able to dictate the right address without the
deploymennt image having to keep track.
2020-05-15 16:03:25 -04:00
Jarrod Johnson
cab2310f35
Fix SLES Full Media
...
SLES can have Full media set,
support that as well as the
Installer/Packages split.
2020-05-15 14:54:34 -04:00
Jarrod Johnson
f85693b7e3
Fix Headers in new replies
...
Needs to be a nested tuple.
2020-05-13 16:53:36 -04:00
Jarrod Johnson
7dcad26002
Add hook for registering install completion
...
This will allow watching the
profile for changes to know
when install is utterly complete.
2020-05-13 16:29:10 -04:00
Jarrod Johnson
393c3ac38e
Fix distribution link for SUSE
...
SUSE needs to be pointed at the
parent directory, not the media
specific path.
2020-05-12 15:51:08 -04:00
Jarrod Johnson
b73c561ca9
Support relative path import
...
Have osimage import correct to absolute
path for import.
2020-05-12 15:02:18 -04:00
Jarrod Johnson
1ba2386b82
Provide keyname to importer
...
This allows client to reliably make association
between import request and tracking
the import activity.
2020-05-12 14:47:00 -04:00
Jarrod Johnson
8a48909ae3
Relax permissions on osimage
...
Public content has to be world
readable for the web server
to provide it. Mitigate by only
temporarily relaxing umask.
Note that the known sensitive
portions are already doing an
explicit specification of permissions, so umask
relaxing won't affect those.
2020-05-12 13:41:54 -04:00
Jarrod Johnson
0b01ca59d2
Add osimage script to package
2020-05-12 12:14:27 -04:00