Skip to content

Why does hostname gets prefixed with lima-<hostname> and why are .local lookups not working? #1634

Answered by AkihiroSuda
JackieTreeh0rn asked this question in Q&A
Discussion options

You must be logged in to vote

1.- The instance names always get prefixed with lima-
limactl list shows the instance name I picked verbatim, and I would like the instance to have that very name. The instance however, say I do a lookup from the instance itself against its IP, always returns the lima- . So does hostname

Because I wanted to name the default instance "default" but I didn't want a host named "default" to exist.
Also, hostnames like "ubuntu", "debian", etc. are likely to conflict with existing hosts.

If somebody submits a PR to allow specifying a custom hostname, I think we can happily accept it.

UPDATE on (2): I just installed AVAHI on one instance and .local resolution seems to be working. However, I am…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@JackieTreeh0rn
Comment options

Answer selected by AkihiroSuda
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants