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

vagrant oscar init-vms fails to execute #10

Closed
Nr18 opened this issue Sep 15, 2013 · 2 comments
Closed

vagrant oscar init-vms fails to execute #10

Nr18 opened this issue Sep 15, 2013 · 2 comments

Comments

@Nr18
Copy link

Nr18 commented Sep 15, 2013

After installing the oscar plugin and executing the following

vagrant oscar init-vms --master master=centos-64-x64-vbox4210-nocm --agent first=centos-64-x64-vbox4210-nocm

I receive the following error:

/Users/<username>/.vagrant.d/gems/gems/vagrant-pe_build-0.4.3/lib/pe_build/release/2_0.rb:17:in `block in <module:Release>': undefined method `template_dir' for PEBuild:Module (NoMethodError)
        from /Users/<username>/.vagrant.d/gems/gems/vagrant-pe_build-0.4.3/lib/pe_build/release/instance.rb:14:in `instance_eval'
        from /Users/<username>/.vagrant.d/gems/gems/vagrant-pe_build-0.4.3/lib/pe_build/release/instance.rb:14:in `initialize'
        from /Users/<username>/.vagrant.d/gems/gems/vagrant-pe_build-0.4.3/lib/pe_build/release.rb:13:in `new'
        from /Users/<username>/.vagrant.d/gems/gems/vagrant-pe_build-0.4.3/lib/pe_build/release.rb:13:in `newrelease'
        from /Users/<username>/.vagrant.d/gems/gems/vagrant-pe_build-0.4.3/lib/pe_build/release/2_0.rb:3:in `<module:Release>'
        from /Users/<username>/.vagrant.d/gems/gems/vagrant-pe_build-0.4.3/lib/pe_build/release/2_0.rb:1:in `<top (required)>'
        from /Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /Users/<username>/.vagrant.d/gems/gems/vagrant-pe_build-0.4.3/lib/pe_build/release.rb:16:in `<module:Release>'
        from /Users/<username>/.vagrant.d/gems/gems/vagrant-pe_build-0.4.3/lib/pe_build/release.rb:2:in `<module:PEBuild>'
        from /Users/<username>/.vagrant.d/gems/gems/vagrant-pe_build-0.4.3/lib/pe_build/release.rb:1:in `<top (required)>'
        from /Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /Users/<username>/.vagrant.d/gems/gems/oscar-0.3.1/lib/oscar/command/init_vms.rb:16:in `initialize'
        from /Users/<username>/.vagrant.d/gems/gems/oscar-0.3.1/lib/oscar/command/helpers.rb:11:in `new'
        from /Users/<username>/.vagrant.d/gems/gems/oscar-0.3.1/lib/oscar/command/helpers.rb:11:in `invoke_subcommand'
        from /Users/<username>/.vagrant.d/gems/gems/oscar-0.3.1/lib/oscar/command.rb:21:in `execute'
        from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.1/lib/vagrant/cli.rb:38:in `execute'
        from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.1/lib/vagrant/environment.rb:484:in `cli'
        from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.1/bin/vagrant:96:in `<top (required)>'
        from /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `load'
        from /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>'

Using Vagrant 1.3.1 and Oscar 0.3.1

Any clues?

@adrienthebo
Copy link
Member

This should be fixed by oscar-stack/vagrant-pe_build@7ca129d and oscar-stack/vagrant-pe_build@3aae9d2 and just needs to be released. Right now I'm workin on getting windows support merged in with vagrant-pe_build, so I might wait and release this in 0.5.0, but I could do 0.4.4 as well. Still making up my mind on that.

Thanks for reporting this!

@adrienthebo
Copy link
Member

This issue was fixed in vagrant-pe_build in 0.5.0, so I'm closing this issue. If you're still having issues, please file an issue at https://github.com/adrienthebo/vagrant-pe_build/issues . Thanks again for filing this report!

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