We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42dbc1a commit d0258f3Copy full SHA for d0258f3
pkg/commands/exec.go
@@ -66,6 +66,10 @@ func RunExec(ctx CommandContext, args ExecArgs) error {
66
}
67
68
69
+ if server.PublicAddress.IP == "" && gateway == "" {
70
+ log.Warn(`Your host has no public IP address, you should use '--gateway', see 'scw help exec'`)
71
+ }
72
+
73
// --timeout
74
if args.Timeout > 0 {
75
log.Debugf("Setting up a global timeout of %d seconds", args.Timeout)
0 commit comments