I couldn't find instructions on the internet anywhere for how to craft a UEFI secure bootable VMware ESXi installer disk iso. I worked it out using the rEFInd OSS project. This is not perfect or optimal, but it does the job.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"asyncTimeout": "900", | |
"asyncTimeoutOverheadMarginPercent": 20, | |
"iterations": 10, | |
"pollInterval": 5, | |
"sleepTime": 15, | |
"testResults": { | |
"async": { | |
"agg": { | |
"id": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-5.0# ansible-playbook -i localhost test.yml -vvvv | |
ansible-playbook 2.10.3 | |
config file = /app/ansible.cfg | |
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] | |
ansible python module location = /usr/lib/python3.8/site-packages/ansible | |
executable location = /usr/bin/ansible-playbook | |
python version = 3.8.5 (default, Jul 20 2020, 23:11:29) [GCC 9.3.0] | |
Using /app/ansible.cfg as config file | |
setting up inventory plugins | |
host_list declined parsing /app/localhost as it did not pass its verify_file() method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: localhost | |
connection: local | |
gather_facts: no | |
vars: | |
# Generally adjustable knobs for testing | |
sleepTime: 15 | |
iterations: 10 | |
asyncTimeoutOverheadMarginPercent: 20 | |
pollInterval: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function testnull { | |
param([System.Nullable[int]] $testint) | |
if($testint){ | |
Write-Host "Value was found to be null implicitly" | |
} else { | |
Write-Host "Value was found to not be null implicitly" | |
} | |
if($testint -eq $null){ | |
Write-Host "Value was found to be null by explicit null comparison" | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| inputlookup mykvstore | |
| eval _time=strptime(LastUpdate , "%m/%d/%Y %H:%M:%S") | |
| where _time < relative_time(now(),"-3d") | |
| eval Keyfield=_key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/opt/puppetlabs/puppet/bin/ruby | |
require 'json' | |
host_cert = `/opt/puppetlabs/bin/puppet config print hostcert`.strip! | |
host_key = `/opt/puppetlabs/bin/puppet config print hostprivkey`.strip! | |
puppetca_cert = `/opt/puppetlabs/bin/puppet config print localcacert`.strip! | |
api_url = "https://localhost:4433" | |
api_url_8140 = "https://localhost:8140" | |
exitstatus = 0 |