Skip to content

Commit

Permalink
Use 'tailscale set' for setting routes.
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Smirnov <dennwc@pm.me>
  • Loading branch information
dennwc committed Jun 26, 2023
1 parent 8a23582 commit 42bf5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/flannel/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const (

tailscaledBackend = `{
"Type": "extension",
"PostStartupCommand": "tailscale up --accept-routes --advertise-routes=%Routes%",
"PostStartupCommand": "tailscale set --accept-routes --advertise-routes=%Routes% && tailscale up",
"ShutdownCommand": "tailscale down"
}`

Expand Down

0 comments on commit 42bf5a1

Please sign in to comment.