can you share your Vagrantfile over gist (gist.github.com) Thanks Alvaro
On Thu, Jul 14, 2016 at 6:07 AM, <[email protected]> wrote: > Hi Guys, > > I want to create a CentOS 7 machine with Virtual box guest additions > installed.I did the following commands > C:\Users\jim_000\VirtualBox VMs\CentOS7-3>vagrant init Centos7-3 > https://github.com/holms/vagrant-centos7-box/releases/download/7.1.1503.001/CentOS-7.1.1503-x86_64-netboot.box > A `Vagrantfile` has been placed in this directory. You are now > ready to `vagrant up` your first virtual environment! Please read > the comments in the Vagrantfile as well as documentation on > `vagrantup.com` for more information on using Vagrant. > > I later modified the file "vagrant file" and changed the following > > config.vm.network "private_network", ip: "192.168.1.9" > config.vm.synced_folder "C:\", "/C_DATA" > config.vm.synced_folder "F:\", "/F_DATA" > vb.gui = true > vb.memory = "3072" > > Then I started and got zillions of errors below: > > C:\Users\jim_000\VirtualBox VMs\CentOS7-3>vagrant up > There is a syntax error in the following Vagrantfile. The syntax error > message is reproduced below for convenience: > > C:/Users/jim_000/VirtualBox VMs/CentOS7-3/Vagrantfile:39: syntax error, > unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' > config.vm.synced_folder "C:\", "/C_DATA" > ^ > C:/Users/jim_000/VirtualBox VMs/CentOS7-3/Vagrantfile:45: syntax error, > unexpected tIDENTIFIER, expecting keyword_end > # config.vm.provider "virtualbox" do |vb| > ^ > C:/Users/jim_000/VirtualBox VMs/CentOS7-3/Vagrantfile:50: syntax error, > unexpected tINTEGER, expecting keyword_end > vb.memory = "3072" > ^ > C:/Users/jim_000/VirtualBox VMs/CentOS7-3/Vagrantfile:59: syntax error, > unexpected tIDENTIFIER, expecting keyword_end > # config.push.define "atlas" do |push| > ^ > C:/Users/jim_000/VirtualBox VMs/CentOS7-3/Vagrantfile:60: syntax error, > unexpected tCONSTANT, expecting keyword_end > # push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME" > ^ > C:/Users/jim_000/VirtualBox VMs/CentOS7-3/Vagrantfile:60: syntax error, > unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' > # push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME" > ^ > C:/Users/jim_000/VirtualBox VMs/CentOS7-3/Vagrantfile:66: syntax error, > unexpected tIDENTIFIER, expecting keyword_end > # config.vm.provision "shell", inline: <<-SHELL > ^ > C:/Users/jim_000/VirtualBox VMs/CentOS7-3/Vagrantfile:66: unterminated > string meets end of file > C:/Users/jim_000/VirtualBox VMs/CentOS7-3/Vagrantfile:66: syntax error, > unexpected end-of-input, expecting keyword_end > > C:\Users\jim_000\VirtualBox VMs\CentOS7-3> > > Any help would be greatly appreciated. > > Thanks > Jim > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/caff2a25-06f3-4e29-8ae5-1c04a71d27ff%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/caff2a25-06f3-4e29-8ae5-1c04a71d27ff%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0exm85HeYswnwMgLcHijePWJCX6jG18q31P4qVqNS_epbQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
