Skip to content

FR: Option to append host aliases on a single line instead of every alias in its own line #294

@danowar2k

Description

@danowar2k

I'm not sure if the current method can lead to bad behaviour.

Currently, using the aliases option...

Vagrantfile:

vm_config.vm.hostname = some-hostname
vm_config.hostmanager.aliases = %W(some-hostname.some-domain some-other-alias)

leads to the following lines (concrete IP not important):

1.2.3.4 some-hostname
1.2.3.4 some-hostname.some-domain
1.2.3.4 some-other-alias

I don't know if the resolving process will get problems with this, but I've heard that the stuff should be on the same line for an IP. Like this:

1.2.3.4 some-hostname some-hostname.some-domain some-other-alias

How about at least an option with which to select which way will be used?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions