Vagrant 起動時にsyntaxエラーが出るとき

Vagrantで複数VMを起動しようと考え、他のブログを参考にVagrant Fileを編集してた。

 

編集後、vagrant upをしようとすると、以下のエラー。

 

```

Vagrant failed to initialize at a very early stage:

There is a syntax error in the following Vagrantfile. The syntax error
message is reproduced below for convenience:

Vagrantfile:9: formal argument cannot be a constant
  config.vm.define :CentOS65 do |CentOS65|

```

なんでエラーになるか、よくわからなかったけど、大文字がよくなかったみたい。

 

```

config.vm.define :CentOS65 do |CentOS65|

↓以下のように書き直す。

config.vm.define :centos65 do |centos65|

```

 

これでエラーが出なくなった。大文字が使えないのかなー。