@@ -362,8 +362,8 @@ const infrastructureQuestions = [
362362 {
363363 name : 'kubeAPIHost' ,
364364 type : 'text' as const ,
365- message :
366- `Please enter Kubernetes hosts /IP to expose API endpoint, (default: first ethernet IP address):` ,
365+ message :
366+ `Please enter host /IP to expose Kubernetes API endpoint, (default: Master first IP address):` ,
367367 valueType : 'VARIABLE' as const ,
368368 // validate: notEmpty,
369369 valueLabel : 'KUBE_API_HOST' ,
@@ -1633,7 +1633,17 @@ ALL_QUESTIONS.push(
16331633curl -sfL https://raw.githubusercontent.com/opencrvs/infrastructure/refs/heads/develop/scripts/bootstrap/opencrvs-bootstrap.sh -o opencrvs-bootstrap.sh && \\
16341634bash opencrvs-bootstrap.sh --ssh-public-key ${ kleur . bold ( '[PUT PROVISION USER PUBLIC KEY FROM MASTER NODE]' ) } ` : ''
16351635
1636- log ( `
1636+ const backup_message = backupHost && backupHost !== "" ?
1637+ `
1638+ -----------------------
1639+ ➡️ ${ kleur . bold ( ) . yellow ( 'COPY the SSH public key from the master VM to your clipboard' ) }
1640+ -----------------------
1641+ ➡️ ${ kleur . bold ( ) . yellow ( 'Run following command on backup server to create provision user and setup SSH key:' ) }
1642+
1643+ curl -sfL https://raw.githubusercontent.com/opencrvs/infrastructure/refs/heads/develop/scripts/bootstrap/opencrvs-bootstrap.sh -o opencrvs-bootstrap.sh && \\
1644+ bash opencrvs-bootstrap.sh --ssh-public-key ${ kleur . bold ( '[PUT PROVISION USER PUBLIC KEY FROM MASTER NODE]' ) } ` : ''
1645+
1646+ log ( `
16371647${ kleur . yellow ( '━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━' ) }
16381648Follow the steps below to complete the setup of your environment:
16391649${ kleur . yellow ( '━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━' ) }
@@ -1647,6 +1657,8 @@ bash opencrvs-bootstrap.sh --owner ${githubOrganisation} \\
16471657 --enable-runner
16481658${ worker_message }
16491659
1660+ ${ backup_message }
1661+
16501662${ kleur . yellow ( '━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━' ) }
16511663 ` )
16521664 log ( '\nAll variables stored in' , kleur . cyan ( `.env.${ environment } ` ) )
0 commit comments