-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.sh.example
executable file
·92 lines (62 loc) · 3.82 KB
/
variables.sh.example
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
#!/bin/bash
# Change these variables to match your environment
# If you want to enable DEBUG mode, set verbosity mode to something between 1 and 4, otherwise 0 to disable, example: 4
export ANSIBLE_VERBOSITY=
# Where is located your Bifrost repository, example: /home/user/bifrost
export SH_PROX_BIFROST_PATH=
# Where is located the Bifrost inventory file to be generated, example: $SH_PROX_BIFROST_PATH/playbooks/inventory/baremetal.json
export BIFROST_INVENTORY_SOURCE=
# Where is located this project (proxmox-installer-unattended), example: /home/user/gitrepo/proxmox-installer-unattended
export SH_PROX_PROXMOXINSTALL_PATH=
# What UUID you want to give to your server (the default one should be fine if you only have one server), example: 00000000-0000-0000-0000-000000000001
export SH_PROX_BAREMETALUUID=00000000-0000-0000-0000-000000000001
# The hostname to give to your server, example: r410
export SH_PROX_HOSTNAME=
# The FQDN of your server, example: $SH_PROX_HOSTNAME.lan.pi
export SH_PROX_FQDN=
# The network interface name on which you want Bifrost to initialize baremetal machines (using DHCP, PXE...), example: enp0s31f6
export SH_PROX_BIFROST_INTERFACE=
# The main network interface of your server / baremetal machines, example: eno1
export SH_PROX_PROX_INTERFACE=
# The MAC address of the network interface on which your should PXE boot, example: 78:2b:cb:4d:15:27
export SH_PROX_MACADDRESS=
# The MTU (maximum transmission unit) of the network you are currently on, example: 1500
export SH_PROX_MTU=
# The IP address of the client who runs this script / Bifrost, example: 10.5.0.16
export SH_PROX_BIFROSTRUNNERIPADDRESS=
# The IP address of the IPMI interface on your server, example: 10.5.0.9
export SH_PROX_IPMIIPADDRESS=
# The username used to connect in IPMI to your server, example: user
export SH_PROX_IPMIUSER=
# The password used to connect in IPMI to your server, example: VerySecurePassword
export SH_PROX_IPMIPASS=
# The SERIAL number of the disk you want to install your OS on, example: 800204e0000000009d80b87dbbc7c304
export SH_PROX_ROOTDEVSERIAL=
# At what IP address the DHCP pool for Bifrost should start, example: 10.5.255.50
export SH_PROX_PROX_DHCPSTART=
# At what IP address the DHCP pool for Bifrost should end, example: 10.5.255.200
export SH_PROX_PROX_DHCPEND=
# The IP address you want to give to your server on the new OS, example: 10.5.0.10
export SH_PROX_PROX_IPADDRESS=
# The associated network mask (long form) of this IP to give to the new OS, example: 255.255.0.0
export SH_PROX_NETMASK_LONG=
# The associated network mask (short/CIDR form) of this IP to give to the new OS, example: 16
export SH_PROX_NETMASK_SHORT=
# The associated network gateway of this IP to give to the new OS, example: 10.5.0.1
export SH_PROX_GATEWAY=
# The first DNS server to give to the new OS, example: 192.168.1.3
export SH_PROX_DNSONE=
# The second/backup DNS server to give to the new OS, example: 1.1.1.1
export SH_PROX_DNSTWO=
# Where is located the ".ssh" directory, example: $HOME/.ssh
export SH_PROX_SSH_PATH=$HOME/.ssh
# What is the name of your SSH public key, example: id_rsa
export SH_PROX_SSHKEY_NAME=id_rsa
# Where is located your SSH private key, example: $SH_PROX_SSH_PATH/$SH_PROX_SSHKEY_NAME
export SH_PROX_SSHKEY_PATH=$SH_PROX_SSH_PATH/$SH_PROX_SSHKEY_NAME
# Where is located your SSH public key, example: $SH_PROX_SSH_PATH/$SH_PROX_SSHKEY_NAME.pub
export SH_PROX_SSHKEYPUB_PATH=$SH_PROX_SSH_PATH/$SH_PROX_SSHKEY_NAME.pub
# [ANSIBLE MANAGED / AUTOMATICALLY FILLS IN / DO NOT MODIFY] The SSH public key of the client who runs this script / Bifrost, example: ssh-rsa AAAAB3NzaC1yc2EAAAA...oI2YTF4zU= user@lab-deb-minipc
export SH_PROX_SSHKEY_CONTENT=
# [ANSIBLE MANAGED / AUTOMATICALLY FILLS IN / DO NOT MODIFY] The MD5 sum of the image to install on your server, example : 09adfa2a0ecda3570cd8d59207927913
export SH_PROX_MD5_IMAGE=