15 lines
588 B
Bash
15 lines
588 B
Bash
# shellcheck source=../../utils/with-1-data-1-empty-node-cluster.sh
|
|
source "$UTILS"/with-1-data-1-empty-node-cluster.sh
|
|
|
|
adminBS="$XDG_DATA_HOME"/isle/bootstrap.json
|
|
bs="$secondus_bootstrap" # set in with-1-data-1-empty-node-cluster.sh
|
|
|
|
[ "$(jq -r <"$bs" '.AdminCreationParams')" = "$(jq -r <admin.json '.CreationParams')" ]
|
|
[ "$(jq -r <"$bs" '.SignedHostAssigned.Body.Name')" = "secondus" ]
|
|
|
|
[ "$(jq -r <"$bs" '.Hosts.primus.PublicCredentials')" \
|
|
= "$(jq -r <"$adminBS" '.SignedHostAssigned.Body.PublicCredentials')" ]
|
|
|
|
[ "$(jq <"$bs" '.Hosts.primus.Garage.Instances|length')" = "3" ]
|
|
|