Skip to content

Virtual box vagrant do not set /etc/hosts correctly #169

@rrameshbtech

Description

@rrameshbtech

I am setting up cluster using /virtualbox/ folder. But it does not set the /etc/hosts/. The output of vagrant up below

    Setting /etc/hosts on nodes...
Uploading hosts.tmp to /tmp/hosts.tmp
Upload has completed successfully!

  Source: hosts.tmp
  Destination: /tmp/hosts.tmp
	  controlplane
  node01
  node02
Uploading hosts.tmp to /tmp/hosts.tmp
Upload has completed successfully!

  Source: hosts.tmp
  Destination: /tmp/hosts.tmp
	  controlplane
  node01
  node02
Uploading hosts.tmp to /tmp/hosts.tmp
Upload has completed successfully!

  Source: hosts.tmp
  Destination: /tmp/hosts.tmp
	  controlplane
  node01
  node02

VM build complete!

Use either of the following to access any NodePort services you create from your browser
replacing "port_number" with the number of your NodePort.

  http://:port_number
  http://:port_number

Though I set it manually and set ssh. after vagrant halt & vagrant up then all the ssh settings were lost.
I am using BRIDGE mode.
Any help appriciated.

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