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
| #!/bin/bash | |
| # Check if VM name and ISO source are provided | |
| if [ -z "$1" ] || [ -z "$2" ]; then | |
| echo "Usage: $0 <vm_name> <iso_path_or_url>" | |
| exit 1 | |
| fi | |
| VM_NAME="$1" | |
| ISO_SOURCE="$2" |
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: hypershift.openshift.io/v1beta1 | |
| kind: NodePool | |
| metadata: | |
| name: doca-workers | |
| namespace: clusters | |
| spec: | |
| clusterName: doca | |
| replicas: 0 | |
| management: | |
| autoRepair: false |
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: hypershift.openshift.io/v1beta1 | |
| kind: HostedCluster | |
| metadata: | |
| name: doca | |
| namespace: clusters | |
| spec: | |
| release: | |
| image: "quay.io/openshift-release-dev/ocp-release:4.18.0-rc.5-multi" | |
| controllerAvailabilityPolicy: SingleReplica | |
| pullSecret: |
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: machineconfiguration.openshift.io/v1 | |
| kind: MachineConfig | |
| metadata: | |
| name: 99-master-dnsmasq-configuration | |
| spec: | |
| config: | |
| ignition: | |
| config: {} | |
| security: | |
| tls: {} |
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
| { | |
| "ignition": { | |
| "version": "3.1.0" | |
| }, | |
| "passwd": { | |
| "users": [{"name":"core", "passwordHash": "$y$j9T$Ief1zQ0s7HZwd3Jr/Qkmi0$hVBX1pPhTtMd31CPxvTmh1bF6V4AnSEKMj/JuwReumC", "sshAuthorizedKeys":[ | |
| "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC5h/c+x5Q7fMOiajq4mLEGZ5AnpbFor0HlN+xCbtfOw56Ri0JMVKMjmwUyqSRASLwaZ1fZERGfQ7Nu5w0nQNS7cxtBFQmvTzwYBaEmuUX1SW35ZcScQz156EwtS8XuUm0HTnOfCX22kywLxHlfxz/Nh7uaCHNE0oiy6PgkH9S0Nopt7zvm6FoBPOrSJQWyjHGV+1CTI85vOyn9YrMZrYnr6OXk0muDALTwbOX8gkvprakUgJwXxW+beP5PU6CnheZPUmg0fnRvqQmqeEsXXii/alUE248e3jS7uUG3FNM15tYzE9OYHVEugdqT9x3NrezdgIaroHl1Z/yxBcM15OwjUsmAEHyGzii1ULxMi0W5htMCkEnQosYcTqKWOP08u6d+HPUU7AbnSDLpUwkpV/cJUAuFTHiuqInDyKwm9gBbRPgiE4MnSgCjAE+NO7sjWTLprJWz/7MW2XUrGDxXCc7UKgsLsOkR6lklDpcaa1RfukdB8sVOq0INenCVXhXquLM= root@wsfd-advnetlab40.anl.lab.eng.bos.redhat.com" | |
| ]}] | |
| }, | |
| "storage": { |
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: v1 | |
| baseDomain: redhat.com | |
| compute: | |
| - architecture: arm64 | |
| hyperthreading: Enabled | |
| name: worker | |
| platform: {} | |
| replicas: 0 | |
| controlPlane: | |
| architecture: arm64 |