This small script lets you start iLO Java-based console from shell.
- iLO 2/3 doesn't have HTML5 console
- Mounting local (from the client computer) ISOs is PAINFULLY slow via HTML5 client
If you just start it, it will ask you for everything:
| variable "docker_password" {} | |
| data "kubernetes_all_namespaces" "allns" {} | |
| resource "kubernetes_secret" "docker_secrets" { | |
| for_each = toset(data.kubernetes_all_namespaces.allns.namespaces) | |
| metadata { | |
| name = "gitlab-cloud" | |
| namespace = each.value | |
| } |
Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Solution for Sonoma: https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac
| Ignore all that craziness below. These can be set from the cli with the "pritunl" command. | |
| The commands below can be used to get/set the values of the cert, key, port and if the :80 -> "app.server_port" redirect is active. | |
| # Get current SSL server cert: | |
| pritunl get app.server_cert | |
| # Get current SSL server key: | |
| pritunl get app.server_key |
| Certificate: | |
| Data: | |
| Version: 3 (0x2) | |
| Serial Number: | |
| 3d:95:7f:ca:1f:8c:0f:c8:69:2c:01:99:4e:b5:52:31:03:5b:9d:f1 | |
| Signature Algorithm: sha256WithRSAEncryption | |
| Issuer: C=KZ, CN=Qaznet Trust Network | |
| Validity | |
| Not Before: Feb 2 05:41:00 2016 GMT | |
| Not After : Feb 2 05:41:00 2046 GMT |
| // change 'agent' lines as appropriate | |
| pipeline { | |
| agent none | |
| stages { | |
| stage('Run CI?') { | |
| agent any | |
| steps { |
| export const ws = webSocket<WebsocketMessage>(`wss://${location.hostname}:${location.protocol === 'https:' ? 443 : 80}/ws/`); | |
| export const wsObserver = ws | |
| .pipe( | |
| retryWhen(errors => | |
| errors.pipe( | |
| delay(1000) | |
| ) | |
| ) | |
| ); |