### Display Digital Rebar Installation Help Source: https://docs.rackn.io/stable/getting-started Displays the help documentation for the Digital Rebar installation script, detailing available flags and configuration options. ```bash curl -fsSL get.rebar.digital/stable | bash -s -- --help ``` -------------------------------- ### OpenShift Installer URL Template and Example (Bash) Source: https://docs.rackn.io/stable/resources/objects/params/openshift-installer-url This snippet shows the default URL template for downloading the OpenShift installer binary using the DRP provisioner and the 'openshift/version' parameter. It also provides a concrete example with a specific version. ```Bash # Default format {{.ProvisionerURL}}/files/redhat/openshift/openshift-install-linux-{{.ParamExpand "openshift/version"}}.tar.gz # Example with version 4.20.8 https://drp.example.com/files/redhat/openshift/openshift-install-linux-4.20.8.tar.gz ``` -------------------------------- ### Manage ESXi ISOs and Profiles Source: https://docs.rackn.io/stable/operators/provisioning/os/esxi/esxi-getting-started Commands to list existing ESXi profiles, inspect profile documentation for ISO requirements, and upload installation ISOs to the DRP endpoint. ```bash drpcli profiles list | jq -r '.[].Name | select( . | contains("esxi9"))' drpcli profiles show esxi-9.0-24755229 | jq -r '.Documentation' drpcli isos upload VMware-VMvisor-Installer-9.0.0.0.24755229.x86_64.iso ``` -------------------------------- ### Assign Machine Parameters and Deploy Source: https://docs.rackn.io/stable/operators/provisioning/os/esxi/esxi-getting-started Configures machine-specific parameters and applies profiles to initiate the automated ESXi 9 installation workflow. ```bash drpcli machines addprofile Name:esxi-node1 universal-application-esxi9-install drpcli machines addprofile Name:esxi-node1 esxi9-config drpcli machines addprofile Name:esxi-node1 esxi9-machine1-settings drpcli machines workflow Name:esxi-node1 universal-discover ``` -------------------------------- ### Install Digital Rebar Platform Source: https://docs.rackn.io/stable/getting-started Downloads and installs the stable version of Digital Rebar with universal workflows. This script verifies system prerequisites and sets up the necessary directory structures. ```bash curl -fsSL get.rebar.digital/stable | bash -s -- install --universal ``` -------------------------------- ### Install DRP using install.sh Script (Bash) Source: https://docs.rackn.io/stable/getting-started/install/install This command downloads and executes the install.sh script to perform a universal installation of DRP. It's a quick way to get started with a production-ready setup. ```bash curl -fsSL get.rebar.digital/stable | bash -s -- install --universal ``` -------------------------------- ### Start Linux Install Workflow (Bash) Source: https://docs.rackn.io/stable/resources/kb/kb-00061 Initiates the 'universal-linux-install' workflow on a specified machine. This command starts the automated OS installation process defined by the associated Universal Application profile. It can target machines by name or UUID. ```Bash # you can select machines by Name:[NAME] or replace it with the Machines UUID value drpcli machines workflow Name:mach-01.example.org universal-linux-install ``` -------------------------------- ### Install KVM and Libvirt dependencies on CentOS Source: https://docs.rackn.io/stable/getting-started/envs/kvm Installs necessary virtualization packages including qemu-kvm, libvirt, and associated tools required for managing KVM guests on a CentOS host. ```text yum makecache yum install qemu-kvm libvirt libvirt-python libguestfs-tools bridge-utils iptables iptables-services util-linux unbound curl wget jq ``` -------------------------------- ### Kernel Network Options Example Source: https://docs.rackn.io/stable/operators/deployment/contents/vmware This example demonstrates how to pass network configuration values directly to the kernel at initial load time using the `kernel-options` parameter. These settings are crucial for the initial boot process, especially when the provisioning network is isolated from the initial DHCP/PXE services. ```bash ip=10.10.10.10 netmask=255.255.255.0 gateway=10.10.10.1 vlan=10 ``` -------------------------------- ### Install VMware Plugin Source: https://docs.rackn.io/stable/operators/provisioning/os/esxi/esxi-getting-started Installs the necessary VMware plugin for Digital Rebar to manage ESXi resources. ```bash drpcli catalog item install vmware ``` -------------------------------- ### Example: Passing Container Runtime Startup Flags (Array of Strings) Source: https://docs.rackn.io/stable/resources/objects/params/docker-context-startup-options This example demonstrates how to pass startup flags to the container runtime. The parameter expects a direct array of strings, where each string is a separate argument or a quoted argument. For instance, to pass `--foo bar --baz "a b"`, the value should be `["--foo", "bar", "--baz", "a b"]`. The default value is an empty array. ```json ["--foo", "bar", "--baz", "a b"] ``` -------------------------------- ### Verify ESXi Agent Context Source: https://docs.rackn.io/stable/operators/provisioning/os/esxi/esxi-getting-started Validates that the required Docker context for ESXi installation is present and the image file exists on the DRP endpoint. ```bash drpcli contexts list | jq -r '.[] | select (.Name == "esxi-agent-runner")' | jq .Image drpcli files list contexts/docker-context/ | grep ``` -------------------------------- ### Start Backstage Development Server Source: https://docs.rackn.io/stable/operators/integrations/backstage Command to initialize the Backstage development environment to test and register the newly created templates. ```bash yarn dev ``` -------------------------------- ### Example Provisioning Template Endpoints Source: https://docs.rackn.io/stable/resources/kb/kb-00031 A collection of example URLs for different operating systems, demonstrating the structure for accessing seed, autoinstall, and kickstart files. ```text # ubuntu/debian http://10.10.10.10:8091/machines/7f65279a-7e5c-4e69-af40-dd01af4c5667/seed # ubuntu 20.04 and newer http://10.10.10.10:8091/machines/7f65279a-7e5c-4e69-af40-dd01af4c5667/autoinstall/user-data # centos/redhat http://10.10.10.10:8091/machines/7f65279a-7e5c-4e69-af40-dd01af4c5667/compute.ks ``` -------------------------------- ### Define BootEnv and Configuration Profiles Source: https://docs.rackn.io/stable/operators/provisioning/os/esxi/esxi-getting-started YAML definitions for custom BootEnv overrides and system configuration profiles. These define installation parameters like disk options, serial console settings, and shell access. ```yaml Name: esxi-9.0-24755229-custom Description: Custom ESXi 9.0 BootEnv override Params: bootenv-customize: esxi9-install: OS: Name: esxi-9.0-24755229-custom SupportedArchitectures: amd64: IsoFile: VMware-VMvisor-Installer-9.0.0.0.24755229.x86_64.iso Sha256: 5d83e96c16f901cd59fd7d8c8c7c46000e11326eb11f9d1a42f5cfb36c1fc2b9 Version: "900" --- Name: esxi9-config Params: esxi/disk-install-options: --firstdisk --overwritevmfs esxi/serial-console: gdbPort=none logPort=none tty2Port=com1 esxi/shell-local: true esxi/shell-remote: true esxi/skip-notify: false esxi/skip-reboot: false esxi/skip-tools: true ``` -------------------------------- ### Example Generated Kickstart File Structure Source: https://docs.rackn.io/stable/operators/deployment/contents/vmware This text output represents a sample Kickstart file generated by Digital Rebar Provision, incorporating default statements, network configuration, custom kickstart directives, stock sections, and user-defined %pre, %post, and %firstboot scripts. ```text # DRP provided kickstart opening statements