Skip to content

Commit

Permalink
feat: make hostname optional
Browse files Browse the repository at this point in the history
this partially rever its parent since distrobox actually already differentiates the prompts: 89luca89/distrobox#1369
  • Loading branch information
mirkobrombin committed May 19, 2024
1 parent 288e000 commit ecdd72a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/dbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,6 @@ func (d *dbox) CreateContainer(name string, image string, additionalPackages []s

if hostname != "" {
args = append(args, "--hostname", hostname)
} else {
args = append(args, "--hostname", name)
}

if len(additionalPackages) > 0 {
Expand Down

0 comments on commit ecdd72a

Please sign in to comment.