mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Stop using process substitution in gateway cloud init file
This commit is contained in:
@@ -9,7 +9,9 @@ locals {
|
||||
application = "firezone-gateway"
|
||||
}, var.labels)
|
||||
|
||||
network_tags = ["firezone-gateways-${var.name}"]
|
||||
network_tags = [
|
||||
"firezone-gateways-${var.name}"
|
||||
]
|
||||
|
||||
google_health_check_ip_ranges = [
|
||||
"130.211.0.0/22",
|
||||
|
||||
@@ -8,6 +8,7 @@ packages:
|
||||
- apt-transport-https
|
||||
- ca-certificates
|
||||
- software-properties-common
|
||||
- curl
|
||||
|
||||
write_files:
|
||||
- path: /etc/apt/keyrings
|
||||
@@ -48,4 +49,6 @@ runcmd:
|
||||
export FIREZONE_LOG_FORMAT="google-cloud"
|
||||
export FIREZONE_GOOGLE_CLOUD_PROJECT_ID="${project_id}"
|
||||
export FIREZONE_OTLP_GRPC_ENDPOINT="${otlp_grpc_endpoint}"
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/firezone/firezone/main/scripts/gateway-systemd-install.sh)
|
||||
curl -fsSL https://raw.githubusercontent.com/firezone/firezone/main/scripts/gateway-systemd-install.sh -o /tmp/gateway-install.sh
|
||||
bash /tmp/gateway-install.sh
|
||||
rm /tmp/gateway-install.sh
|
||||
|
||||
Reference in New Issue
Block a user