Jarrod Johnson
5129b9fe9b
Write more useful boot.cfg
...
ESXi should access using relative
path, rather than going to root
for everything.
2020-06-12 09:34:52 -04:00
Jarrod Johnson
458d6284d1
Dulpicate esxi7 to esxi6
2020-06-11 17:18:28 -04:00
Jarrod Johnson
db7c5adf8d
Add PXE to esxi os images
...
This will attempt to use
ipxe correctly when PXE
initiates the deployment.
2020-06-11 17:14:14 -04:00
Jarrod Johnson
68f000838e
Relocate boot.ipxe
...
It looks a bit weird in the linux and outright bizarre
in the vmware case.
2020-06-11 15:28:45 -04:00
Jarrod Johnson
0849f20d60
Add stub initprofile.sh
...
While not needed, stub it out for code to
be extended if needed.
2020-06-11 13:58:01 -04:00
Jarrod Johnson
85b01ccec5
Switch to overwrite vmfs
...
esxi installs frequently fail unless overwritevmfs is
specified
2020-06-11 13:45:07 -04:00
Jarrod Johnson
198d6a795f
Add runweasel to esxi
...
Early boot behavior is influenced by the
real kernel command line. Without /bootmodules things
fail.
2020-06-11 13:33:15 -04:00
Jarrod Johnson
09db9f5a25
Pull ks.cfg manipulation into scripts
...
This make it easier to customize rather than being
in addons.tgz
2020-06-11 10:29:22 -04:00
Jarrod Johnson
654932efb6
Modify the correct line for ks manipulation
2020-06-11 10:26:16 -04:00
Jarrod Johnson
f78b358cd7
Try to adapt for esxi6.7
...
ESXi 6.7 had further restrictions
2020-06-11 09:26:40 -04:00
Jarrod Johnson
8e203723ef
Further tweak esxi deployment support
...
Try removing the exec, as memory seems
constrained in exec case for some reason.
Specify behavior when dealing with existing
vmfs.
2020-06-10 14:01:07 -04:00
Jarrod Johnson
0a1409ffcf
Amend esxi update
...
Some mistakes were made in the profile
2020-06-10 12:34:46 -04:00
Jarrod Johnson
873190cae9
Fix tgz generation
...
Previous attempt was duplicating files in the
archive, which caused vmware kernel to
fail to unpack them.
2020-06-10 12:17:51 -04:00
Jarrod Johnson
783c6ce7b6
Revise the esxi tar strategy
...
Finally, it has been ascertained
that ESXi rejecting the tar
was due to not having directories
explicitly listed, not because of
forbidding new paths or compression.
2020-06-10 10:37:14 -04:00
Jarrod Johnson
facba645c5
Revert "Switch to tar"
...
This reverts commit c6d0c121d4d43949ae108d34e3825437d8d91a38.
2020-06-10 10:17:54 -04:00
Jarrod Johnson
c6d0c121d4
Switch to tar
...
esxi seems to be inconsistent with working with
gz compressed tar, see if plain tar fares better
2020-06-10 09:44:44 -04:00
Jarrod Johnson
d4f46a53e0
Fix tar generation of site
...
site content was nat being
correctly packed to tgz.
2020-06-10 09:42:44 -04:00
Jarrod Johnson
3b940b6194
Rename site contents in tgz
...
This moves location of site data for esxi
2020-06-09 16:40:29 -04:00
Jarrod Johnson
ca91e10941
Numerous changes to esxi deployment
2020-06-09 16:12:22 -04:00
Jarrod Johnson
32ff75c86a
Add profile to esxi
2020-06-09 10:28:16 -04:00
Jarrod Johnson
006db24591
Fix more mistakes in the esxi deploy
2020-06-09 09:51:48 -04:00
Jarrod Johnson
6bbe1a49e0
Fix typo in spec file
2020-06-09 08:50:54 -04:00
Jarrod Johnson
197f9950cb
Add ESXi contents to OS deploy
2020-06-08 17:24:48 -04:00
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