File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,14 @@ generate_env() (
70
70
# Decide on a subnet for provisioning. Tinkerbell should "own" this
71
71
# network space. Its subnet should be just large enough to be able
72
72
# to provision your hardware.
73
- export TINKERBELL_CIDR=29
73
+ export TINKERBELL_CIDR=${TINKERBELL_CIDR :- " 29 " }
74
74
75
75
# Host IP is used by provisioner to expose different services such as
76
76
# tink, boots, etc.
77
77
#
78
78
# The host IP should the first IP in the range, and the Nginx IP
79
79
# should be the second address.
80
- export TINKERBELL_HOST_IP=192.168.1.1
80
+ export TINKERBELL_HOST_IP=${TINKERBELL_HOST_IP :- " 192.168.1.1" }
81
81
82
82
# Tink server username and password
83
83
export TINKERBELL_TINK_USERNAME=admin
@@ -87,6 +87,10 @@ generate_env() (
87
87
export TINKERBELL_REGISTRY_USERNAME=admin
88
88
export TINKERBELL_REGISTRY_PASSWORD="$registry_password "
89
89
90
+ # Tink cli options
91
+ export TINKERBELL_GRPC_AUTHORITY=${TINKERBELL_HOST_IP:- " 192.168.1.1" } :42113
92
+ export TINKERBELL_CERT_URL=http://${TINKERBELL_HOST_IP:- " 192.168.1.1" } :42114/cert
93
+
90
94
# Legacy options, to be deleted:
91
95
export FACILITY=onprem
92
96
export ROLLBAR_TOKEN=ignored
Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ check_prerequisites() (
478
478
)
479
479
480
480
whats_next () (
481
- echo " $NEXT 1. Enter /vagrant/ deploy and run: source ../.env; docker-compose up -d"
481
+ echo " $NEXT 1. Enter /deploy and run: source ../.env; docker-compose up -d"
482
482
echo " $BLANK 2. Try executing your first workflow."
483
483
echo " $BLANK Follow the steps described in https://tinkerbell.org/examples/hello-world/ to say 'Hello World!' with a workflow."
484
484
)
@@ -499,7 +499,9 @@ do_setup() (
499
499
# shellcheck disable=SC1090
500
500
source " $ENV_FILE "
501
501
502
- setup_networking " $lsb_dist " " $lsb_version "
502
+ if [[ -z $TINKERBELL_SKIP_NETWORKING ]]; then
503
+ setup_networking " $lsb_dist " " $lsb_version "
504
+ fi
503
505
setup_osie
504
506
generate_certificates
505
507
setup_docker_registry
You can’t perform that action at this time.
0 commit comments