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
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
021591017c
Fix osimagetab completion
2020-05-22 09:03:02 -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
726cb198c1
Actually list partitions in the HPC template
...
Without listing, autoyast fails to honor the disk somehow.
This causes disk to be honored. Additionally, use xfs instead of
btrfs and get rid of /home.
2020-05-21 10:57:19 -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
51bc7dc88f
Add nodedeploy command
...
This is akin to rinstall, but with
better tab completion and such
2020-05-20 16:21:08 -04:00
Jarrod Johnson
76952e774b
Add more verbose autoconsole text
...
Point users towards screendump for Ubuntu and
SuSE.
2020-05-20 14:46:26 -04:00
Jarrod Johnson
8bff5c272b
Actually modify meaningful grub config
2020-05-20 14:26:22 -04:00
Jarrod Johnson
c587cd34ac
Check correct location for deploycfg
...
This should fix the autocons behavior in
ubuntu.
2020-05-20 14:10:06 -04:00
Jarrod Johnson
f8b27f1f8d
Add autoconsole to ubunntu install
...
Have the installed system use serial console.
2020-05-20 13:24:05 -04:00
Jarrod Johnson
60453973cb
Actually use the domain name in rhel deploy
2020-05-20 12:48:05 -04:00
Jarrod Johnson
c48b023236
Inject DNS domain to suse deploy
2020-05-20 12:20:58 -04:00
Jarrod Johnson
c0bd9f8bfb
Insert domain into EL deploy
...
This hopefully sets search path up well.
2020-05-20 12:08:05 -04:00
Jarrod Johnson
c4379e3fd2
Null domain becomes blank for ubuntu
2020-05-20 09:40:16 -04:00
Jarrod Johnson
b0be352134
Correct target for TLS certs in ubuntu
2020-05-20 09:33:38 -04:00
Jarrod Johnson
7d4ce55127
Fix firstboot on Ubuntu
...
Correctly update deployment attributes upon completion.
2020-05-19 17:38:25 -04:00
Jarrod Johnson
9506817a00
Add DNS to DOMAINSEARCH, as ubuntu igores domain..
2020-05-19 17:09:26 -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
5540896ab1
Convert Ubuntu to netconf syntax
...
The ipconfig syntax can't take domain. See how
it works using the same hooks that dhcp would have.
2020-05-19 16:23:36 -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
26caffab76
Have Ubuntu report deployment completion
2020-05-19 13:36:49 -04:00
Jarrod Johnson
9093a6e80a
Rework ubuntu profile to break scripts into profile
...
This makes the pre/post/firstboot scripts more accessible
and consistent with the other distributions.
2020-05-19 12:22:46 -04:00
Jarrod Johnson
66f0e8225e
Tighten permissions on confluent config files
...
Prior to copying them, make sure only root can interact.
The directory should protect them as well, but best to
not have anything controversial.
2020-05-19 10:51:32 -04:00
Jarrod Johnson
5f63875cae
Finally fix SuSE certificate handling
...
It was targeting a symlink that went out of chroot,
target the underlying directory instead.
2020-05-19 10:38:31 -04:00
Jarrod Johnson
92f8acab7a
Fix target path of tls anchors
2020-05-18 22:07:03 -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
b9cdf0d941
Move TLS certs into correct locations for SuSE
2020-05-18 17:00:05 -04:00
Jarrod Johnson
dcb9f60ade
Modify suse autocons logic
2020-05-18 16:13:16 -04:00
Jarrod Johnson
d12ac8a1ba
Try to adjust suse autoconsole behavior
2020-05-18 16:07:38 -04:00
Jarrod Johnson
14ba48da1f
Add keymap to EL install
2020-05-18 14:55:35 -04:00
Jarrod Johnson
ceefb936c2
Add keymap from donor system
...
RHEL requires this to autoinstall graphically.
2020-05-18 14:17:57 -04:00