Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The vagrant not support static ip assignment #155

Closed
tiewei opened this issue May 4, 2016 · 1 comment
Closed

The vagrant not support static ip assignment #155

tiewei opened this issue May 4, 2016 · 1 comment

Comments

@tiewei
Copy link

tiewei commented May 4, 2016

Although currently the network type could be set as static, but there's no ip parameter could be set, it end with below error.

(venv)wtie@cisco.pxe_server$ molecule converge  --platform=rhel-7
Bringing machine 'pxe-server-01-rhel-7' up with 'virtualbox' provider...
Bringing machine 'pxe-client-01-rhel-7' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
vm:
* An IP is required for a private network.

In molecule.yml

    - name: pxe-server-01
      ansible_groups:
        - aio
        - pxe_server
      interfaces:
        - network_name: private_network
          type: static
          ip: 192.168.11.3
          auto_config: true
@retr0h
Copy link
Contributor

retr0h commented May 6, 2016

Merged

@retr0h retr0h closed this as completed May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants