Skip to content

Commit

Permalink
incus/admin/init: Don't allow DNS for cluster communications
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
  • Loading branch information
stgraber committed Nov 22, 2024
1 parent 10550a7 commit 652ff28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/incus/admin_init_interactive.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func (c *cmdAdminInit) askClustering(config *api.InitPreseed, d incus.InstanceSe
return nil
}

serverAddress, err := c.global.asker.AskString(fmt.Sprintf(i18n.G("What IP address or DNS name should be used to reach this server?")+" [default=%s]: ", address), address, validateServerAddress)
serverAddress, err := c.global.asker.AskString(fmt.Sprintf(i18n.G("What IP address should be used to reach this server?")+" [default=%s]: ", address), address, validateServerAddress)
if err != nil {
return err
}
Expand Down

0 comments on commit 652ff28

Please sign in to comment.