examples/wireguard-bastion/create_vms.sh
2025-06-14 03:50:35 +03:00

19 lines
626 B
Bash
Executable File

#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
set -e
export FORMAT=YAML
mkdir -p tmp
detee-cli vm deploy --from-yaml cali-bastion.yaml > tmp/cali-bastion-install.yaml &&
echo "Bastion created in California." &
detee-cli vm deploy --from-yaml vanc-bastion.yaml > tmp/vanc-bastion-install.yaml &&
echo "Bastion created in Vancouver." &
detee-cli vm deploy --from-yaml cali-protected.yaml > tmp/cali-protected-install.yaml &&
echo "Protected node created in California." &
detee-cli vm deploy --from-yaml vanc-protected.yaml > tmp/vanc-protected-install.yaml &&
echo "Protected node created in Vancouver." &
wait