Skip to content

Commit df51291

Browse files
committed
fix rss flag
1 parent 884e8ef commit df51291

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

tools/talis/fibre_bootstrap_evnode.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,8 @@ to fetch, then SCPs to each evnode-*.`,
187187
},
188188
}
189189

190-
homeDir, _ := os.UserHomeDir()
191-
defaultKeyPath := filepath.Join(homeDir, ".ssh", "id_ed25519")
192-
193190
cmd.Flags().StringVarP(&rootDir, "directory", "d", ".", "experiment root directory")
194-
cmd.Flags().StringVarP(&sshKeyPath, "ssh-key-path", "s", defaultKeyPath, "SSH private key for talis instances")
191+
cmd.Flags().StringVarP(&sshKeyPath, "ssh-key-path", "s", "", "SSH private key for talis instances (defaults to TALIS_SSH_KEY_PATH env)")
195192
cmd.Flags().StringVar(&sshUser, "ssh-user", "root", "SSH user (talis instances boot as root)")
196193
cmd.Flags().DurationVar(&jwtTimeout, "jwt-timeout", 5*time.Minute, "max wall time to wait for the bridge JWT to appear on bridge-0")
197194

0 commit comments

Comments
 (0)