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

- ["private_network", { type: "dhcp" }] #54

Open
styk-tv opened this issue Apr 18, 2016 · 0 comments
Open

- ["private_network", { type: "dhcp" }] #54

styk-tv opened this issue Apr 18, 2016 · 0 comments

Comments

@styk-tv
Copy link

styk-tv commented Apr 18, 2016

Have anyone tried to create a dhcp network? I can't seem to find the right combination for yaml. I either need VmBoxManage parametrized version below (hostonly lines and dhcpserver lines, 4 in total) or simple type=dhcp like in the subject as this works directly from Vagrantfile

        customize:
          - [modifyvm, !ruby/sym id, '--memory', 2048]
          - [modifyvm, !ruby/sym id, 'hostonlyif','create']
          - [modifyvm, !ruby/sym id, 'hostonlyif','ipconfig','vboxnet0','--ip','192.168.56.1']
          - [modifyvm, !ruby/sym id, 'dhcpserver','add','--ifname','vboxnet0','--ip','192.168.56.1','--netmask','255.255.255.0','--lowerip','192.168.56.100','--upperip','192.168.56.200']
          - [modifyvm, !ruby/sym id, 'dhcpserver','modify','--ifname','vboxnet0','--enable']
          - [createhd, '--filename', 'disks/pgmaster-2g', '--size', 2048]
          - [storageattach, !ruby/sym id, '--storagectl', 'SATA Controller', '--port', '1', '--type', 'hdd', '--nonrotational', 'on', '--discard', 'on', '--medium', 'disks/pgmaster-2g.vdi']

any hints would be appreciated.

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

1 participant