-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.rhel-edge-vars.sh
38 lines (33 loc) · 1.48 KB
/
example.rhel-edge-vars.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#########################################################
## Required Files
export SSH_PUB_KEY_PATH="$HOME/.ssh/id_rsa.pub"
export RH_OFFLINE_TOKEN_PATH="$HOME/rh-api-offline-token"
#########################################################
## Required variables
export CREATE_DEVICE_NAME_GROUP=true
export CREATE_IMAGE=true
export DEVICE_GROUP_NAME="my-device-name-group"
#########################################################
## Image Atrributes
export IMAGE_NAME="test-image"
export USERNAME="admin"
export DISTRIBUTION="rhel-86"
export DESCRIPTION="sample description"
export PACKAGES="curl net-tools podman tar bind-utils git"
export ARCH="x86_64"
#########################################################
## automated management variables
export RHC_ORG_ID="YOUR_RHC_ORG_ID"
export RHC_ACTIVATION_KEY="YOUR_RHC_ACTIVATION_KEY"
#########################################################
## Optional variables
## osinfo-query os
export OS_VARIANT="rhel8.6"
export DEV_VM_NAME="test-dev-vm-$(tr -dc a-z </dev/urandom|head -c 6)"
#########################################################
## Current Kickstart Variables
# https://github.com/RedHatInsights/edge-api/blob/main/templates/templateKickstart.ks
export ENABLE_KICKSTART=true
export DEFAULT_KICKSTART_URL="https://raw.githubusercontent.com/Red-Hat-SE-RTO/rhel-fleet-management/main/inventories/lab/applications/quarkuscoffeeshop-majestic-monolith-fleet-manger/fleet.kspost"
export RHEL_USERNAME="admin@example.com"
export RHEL_PASSWORD="p@$$w0rd"