Jarrod Johnson
222bdee851
Load firewall before esxi installation begins
...
Parts of esxi install depend on firewall running. When
we are done with 'odd' networking, restore firewall
to meet that expectation.
2024-05-07 10:05:50 -04:00
Jarrod Johnson
75082c4418
Move up creation of ca.pem
2023-08-03 14:03:36 -04:00
Jarrod Johnson
9f7e53701e
Avoid latching onto USB nic in a vswitch as 'the nic'
...
In esxi, some builds may have USB nic brought up in a vswitch.
Detect and avoid that scenario.
2023-02-27 10:43:40 -05:00
Jarrod Johnson
23ec46bb8b
Add vlanid to the vmware deployment support
2022-10-12 13:08:57 -04:00
Jarrod Johnson
801e43936c
Revise ESXi routed deployment
...
-Have apiclient set timeout on getting credential to avoid hang
-Change dcuiweasel to start shell earlier for better debug
-Do not expire the ident token if deployment is armed continuous anyway
2022-08-19 16:06:46 -04:00
Jarrod Johnson
2aed973a8b
Have apiclient check all hosts for connectivity
...
Further allow it to output the result and feed that to esxi startup.
2022-08-08 11:18:35 -04:00
Jarrod Johnson
258c4970c0
Change makeksnet from yaml to json
...
Older vmware did just json, which is fine, just have to use
the json file that was there just in case something like this
came up.
2022-08-04 10:39:10 -04:00
Jarrod Johnson
6b95bc7932
Fix key name
2022-07-27 12:08:58 -04:00
Jarrod Johnson
35701cdf01
Allow ident net config to override deploycfg
...
In routed deployment, deploycfg will
be missing network info, use
the ident provided network if detected.
2022-07-27 11:41:29 -04:00
Jarrod Johnson
c1ad4357dc
Fix for loop variable name
2022-07-27 08:37:09 -04:00
Jarrod Johnson
9987cb5c03
Advance state of routed esxi deployment
2022-07-27 07:51:41 -04:00
Jarrod Johnson
e8d2f550b8
Draft work on ESXi identity image deployment
...
Prepare for routed deployment of ESXi
2022-07-25 17:05:30 -04:00
Jarrod Johnson
2058d1fba8
Add ESXi 8 support
...
ESXi changes security policies, adapt
to navigate both old and new sorts of rules
2022-07-08 13:36:21 -04:00
Jarrod Johnson
196ed31bee
Retry node api token retrieval, with message
2021-04-30 15:17:02 -04:00
Jarrod Johnson
94e731274a
Add debug in case where ESXi has no network
...
Do away with appearance of mysterious hang
2021-02-11 11:44:53 -05:00
Jarrod Johnson
50c150f4b4
Fixup issues in esxi deployment
...
When installer boots, the autonic behavior it tries is discarded
by default. Explicitly preserve the autonic behavior into
the install phase and the installed system.
2021-02-11 11:06:02 -05:00
Jarrod Johnson
e72292f989
Update status at end of esxi install
2021-02-05 14:03:41 -05:00
Jarrod Johnson
8c89deaa95
Further defer use of deploycfg as normal
...
In ESXi flow, it is highly likely that IPv4 cannot
be ready yet, delay a bit more.
2021-01-05 15:32:46 -05:00
Jarrod Johnson
674e2887f3
Fix ESXi deployment without working DHCP
...
apiclient was instructing itself to use IPv4 prematurely. Change
the dcuiweasel hook to delay that change until after all data has been
fetched.
2021-01-05 11:55:30 -05:00
Jarrod Johnson
7a2b295945
Change default label for ESXi to be more clear
2020-10-26 12:35:37 -04:00
Jarrod Johnson
7b21cc829f
Incoporate extended info to apiclient
2020-06-26 16:21:48 -04:00
Jarrod Johnson
17ec74dcf8
Add binary output to apiclient
...
It is convenient to use apiclient as
a downloader, it's shorter and to the point
than curl.
2020-06-19 07:49:05 -04:00
Jarrod Johnson
e7b93dba50
Have apiclient use first rather than last
...
apiclient was preferring the slowest rather than
the fastest respondant, inconsistent with intent
and everything else.
2020-06-19 07:29:14 -04:00
Jarrod Johnson
ab04ad85e8
Correct filename typo
2020-06-12 12:13:31 -04:00
Jarrod Johnson
b8dcfbae45
Move esxi customization back to include
...
This makes modding the template a bit safer and
more powerful.
It seems it was incorrect that the issue in esxi6
was not due to %include and is just a fact of life.
2020-06-12 11:36:56 -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
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
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
197f9950cb
Add ESXi contents to OS deploy
2020-06-08 17:24:48 -04:00