Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

Can't create cname in Vagrantfile #176

Closed
robb-reporo opened this issue Apr 19, 2016 · 5 comments
Closed

Can't create cname in Vagrantfile #176

robb-reporo opened this issue Apr 19, 2016 · 5 comments
Milestone

Comments

@robb-reporo
Copy link

this works...

system("vagrant landrush set #{hostalias} #{hostname})

this does not work...

config.landrush.host hostalias, hostname

the following error is produced...

/opt/vagrant/embedded/lib/ruby/2.2.0/ipaddr.rb:559:in `in6_addr': invalid address (IPAddr::InvalidAddressError)
    from /opt/vagrant/embedded/lib/ruby/2.2.0/ipaddr.rb:496:in `initialize'
    from /home/vagrant/.vagrant.d/gems/gems/landrush-0.19.0/lib/landrush/action/setup.rb:66:in `new'
    from /home/vagrant/.vagrant.d/gems/gems/landrush-0.19.0/lib/landrush/action/setup.rb:66:in `block in setup_static_dns'
    from /home/vagrant/.vagrant.d/gems/gems/landrush-0.19.0/lib/landrush/action/setup.rb:61:in `each'
@njam
Copy link
Contributor

njam commented Apr 19, 2016

What are the actual values that you are using? "hostalias" and "hostname"?

@robb-reporo
Copy link
Author

This works...
Landrush::Store.hosts.set(hostalias, hostname)
so I am happy.

@robb-reporo
Copy link
Author

What are the actual values that you are using? "hostalias" and "hostname"?

hostalias is"foo" and hostname "foobox.vagrant", vagrant is set as our tld.

@hferentschik hferentschik added this to the v.1.1.0 milestone May 18, 2016
@robb-reporo
Copy link
Author

The workaround given above does not work in 1.0.0.

hferentschik pushed a commit to hferentschik/landrush that referenced this issue Jul 1, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Jul 1, 2016
…S entry creation for CNAMES more readable. Adding tests.
@hferentschik
Copy link
Contributor

Fix via pull request #207

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants