Skip to content

Commit

Permalink
Merge 3646c2b into 96f6777
Browse files Browse the repository at this point in the history
  • Loading branch information
saleemrashid authored Feb 13, 2025
2 parents 96f6777 + 3646c2b commit 143350c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions internal/command/machine/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -718,13 +718,11 @@ func determineMachineConfig(

if len(args) != 0 {
machineConf.Init.Cmd = args[1:]
} else if input.interact {
machineConf.Init.Exec = []string{"/bin/sleep", "inf"}
}
}

if input.interact {
machineConf.Init.Exec = []string{"/bin/sleep", "inf"}
}

if flag.IsSpecified(ctx, "skip-dns-registration") {
if machineConf.DNS == nil {
machineConf.DNS = &fly.DNSConfig{}
Expand Down

0 comments on commit 143350c

Please sign in to comment.