Quantcast
Channel: Active questions tagged vagrant - DevOps Stack Exchange
Viewing all articles
Browse latest Browse all 64

Error - "`block (2 levels) in ': wrong number of arguments (given 1, expected 0) (ArgumentError)"

$
0
0

I get this error when I run a simple vagrant script to spin up a VM. The "provider" is VirtualBox & the "box" to be used is CentOS7.

I have tried to change the hostname to all strings. It was a combination of strings and numerals earlier.

I have also moved the "config.vm.hostname "OABox" " to line 12. It was on line 9 earlier; i.e. I moved it to the "define properties block"

Vagrant Script

Error message I get when I run the script


Viewing all articles
Browse latest Browse all 64

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>