-
Notifications
You must be signed in to change notification settings - Fork 19
/
sat_env.sh
98 lines (71 loc) · 3.71 KB
/
sat_env.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#!/bin/bash
# sat_env.sh
# it's recomended that you copy this file to more secure location before adding
# production values to it such as /root/.sat_env.sh
#export ANSIBLE_DEBUG=1
# --- all installs
# Red Hat Satellite version that is going to be installed
export SATELLITE_VERSION=6.7
# Red Hat Enterprise version that is going to be supported
export SATELLITE_RHELVER=7.7
# Satellite hostname and IP
export SATELLITE_HOSTNAME="changme"
export SATELLITE_DOMAIN="example.com"
export SATELLITE_HOSTIP="x.x.x.x"
# SATELLITE_USERNAME is to set the initial admin user for the satellite
export SATELLITE_USERNAME="myadmin"
# SATELLITE_PASSWORD is set for the initial admin user password
export SATELLITE_PASSWORD="changemenownotlater!"
# SATELLITE_ORGANIZATION is set the initial Organization
export SATELLITE_ORGANIZATION="changeme_org"
# SATELLITE_LOCATION is to set initial Location
export SATELLITE_LOCATION="changeme_loc"
# SATELLITE_ACCOUNT_ID is your Red Hat Account Number required for both
# connected and disconnected installs
export SATELLITE_ACCOUNT_ID='1234567'
# SATELLITE_RHN_CONNECT variable is used to set the method of satellite installation
# - connected option is system is register to Red Hat's CDN and has access to
# the internet
# - disconnect optinon is when the system does not have access to the
# internet
# - master option is the same has connected but exports the rpm content for a
# disconnected satellite
# SATELLITE_RHN_CONNECT={connected,disconnect, or master}
export SATELLITE_RHN_CONNECT="disconnect"
# work in progress
# export SATELLITE_CERTS_SERVER_CERT=?
# export SATELLITE_CERTS_SERVER_KEY=?
# export SATELLITE_CERTS_SERVER_CA_CERT=?
# --- disconnected installs
# SATELLITE_CONTENT_SOURCE is the path on where the offline rpm repository is
# stored for disconnected installs
export SATELLITE_CONTENT_SOURCE="http://192.168.122.1"
# MANIFEST_NAME is the name of the manifest file to be copied/uploaded
export SATELLITE_MANIFEST_NAME="/opt/manifest_example.zip"
# --- connected installs
# SATELLITE_RHN_POOL_ID is the uuid of the pool providing the Satellite subscription
# export SATELLITE_RHN_POOL_ID=(CHANGE_ME)
# SATELLITE_MANIFEST_UUID is the manifest uuid that is created on
# access.redhat.com
# Manifest FAQ: https://access.redhat.com/articles/229083
# export SATELLITE_MANIFEST_UUID=(CHANGEME-F4K3-UU1D-9h0i-1j2k3l4m5n60)
# ---- with activation key
# SATELLITE_RHN_AK Activation key is from access.redhat.com for connected
# installs. To Create an activation key on access.redhat.com:
# https://access.redhat.com/articles/1378093
# export SATELLITE_RHN_AK=Activation key that was created on access.redhat.com
# SATELLITE_RHN_ORG is from access.redhat.com for connected installs
# How to look up organization id on Red Hat's Customer Portal:
# https://access.redhat.com/articles/3047431
# export SATELLITE_RHN_ORG=Activation Keys for Organization ID number
# ---- with user and password
# User that has permission to register to Red Hat Network
# export SATELLITE_RHN_USER= (access.redhat.com account)
# User Password for the account
# export SATELLITE_RHN_PASSWORD=(access.redhat.com account password)
# -- subscription _within_ Satellite
# so that an AK can be created by default, you need to define one subscription (or more) covering RHEL
# It must be a list of dicts in YAML (or JSON) format, e.g. uncomment and adapt one of the following lines
#export SATELLITE_SUBS_FOR_AK="[ {'name': 'Red Hat Enterprise Linux Server with Smart Management, Standard (Physical or Virtual Nodes)'} ]"
#export SATELLITE_SUBS_FOR_AK="[ {'pool_id': '0123456789abcdef0123456789abcdef'} ]" # aka Candlepin ID/UUID
#export SATELLITE_SUBS_FOR_AK="[ {'upstream_pool_id': '0123456789abcdef0123456789abcdef'} ]" # aka Master Pools