Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cfergeau committed Jul 9, 2024
1 parent 8181640 commit ee55bd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/macadam/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ func startMachine(m *PodmanMachine) error {
NoInfo: false,
Quiet: false,
}
slog.Info(fmt.Sprintf("SSH config: %v", m.config.SSH))

if err := shim.Start(m.config, m.provider, dirs, startOpts); err != nil {
return err
}
Expand Down Expand Up @@ -188,6 +190,7 @@ func main() {
machine, err := initMachine(initOpts)
if err != nil && !errors.Is(err, define.ErrVMAlreadyExists) {
slog.Error(err.Error())
os.Exit(1)
}
if err := startMachine(machine); err != nil {
slog.Error(err.Error())
Expand Down

0 comments on commit ee55bd6

Please sign in to comment.