This file contains hidden or 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
| #Connect-ViServer vcsa.home.kobutton.com | |
| param ( | |
| [Parameter(Mandatory=$true)] | |
| [string]$MACFile, # File Container Macaddresses to add, one per line, all uppercase, with colons | |
| [Parameter(Mandatory=$true)] | |
| [String]$EsxiCluster, #Target Esxi Cluster | |
| [Parameter(Mandatory=$true)] | |
| [String]$VMPrefix, # Prefix for macdummy_vms |
This file contains hidden or 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
| --- | |
| apiVersion: kubevirt.io/v1 | |
| kind: VirtualMachine | |
| metadata: | |
| name: {{ hostname }} | |
| spec: | |
| dataVolumeTemplates: | |
| - metadata: | |
| name: {{ hostname }}-rootdisk | |
| spec: |
This file contains hidden or 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
| Import-Module VMware.VimAutomation.Core | |
| Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false | Out-Null | |
| Connect-VIServer vcsa.home.kobutton.com |
This file contains hidden or 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
| --- | |
| apiVersion: metal3.io/v1alpha1 | |
| kind: Provisioning | |
| metadata: | |
| name: provisioning-configuration | |
| spec: | |
| preProvisioningOSDownloadURLS: {} | |
| provisioningNetwork: Disabled | |
| watchAllNamespaces: true | |
| --- |
This file contains hidden or 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
| apiVersion: nvidia.com/v1 | |
| kind: ClusterPolicy | |
| metadata: | |
| name: gpu-cluster-policy | |
| namespace: nvidia-gpu-operator | |
| spec: | |
| vgpuDeviceManager: | |
| config: | |
| default: default | |
| enabled: true |
This file contains hidden or 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
| #! /usr/bin/env python3 | |
| import json | |
| import sys | |
| parent_struct = { | |
| "apiVersion": "policy.open-cluster-management.io/v1", | |
| "kind": "Policy", | |
| "metadata": { | |
| "name": "ldap-sync-policy", | |
| "namespace": "default", | |
| "annotations": { |