Hi all,
I am unable to ping the Virtual machine when I issue the Vagrant up command from the Dos prompt.
I am doing a course on EdX, which requires me to install Oracle Virtual box, VM and Vagrant.My installation is for Windows 7 64 bit. I installed all of the above as per the instructions.
Whenever I issue the vagrant up command, the VM starts and I get a message that the VM is running. But when it tries to ping the VM, it comes with the message that there is no response.
The configuration file I am using is the default one, and it as given below.
# -*- mode: ruby -*-
# vi: set ft=ruby :
ipythonPort = 8001 # Ipython port to forward (also set in IPython notebook config)
Vagrant.configure(2) do |config|
config.ssh.insert_key = true
config.vm.define "sparkvm" do |master|
master.vm.box = "sparkmooc/base2"
master.vm.box_download_insecure = true
master.vm.boot_timeout = 900
master.vm.network :forwarded_port, host: ipythonPort, guest: ipythonPort, auto_correct: true # IPython port (set in notebook config)
master.vm.network :forwarded_port, host: 4040, guest: 4040, auto_correct: true # Spark UI (Driver)
master.vm.hostname = "sparkvm"
master.vm.usable_port_range = 4040..4090
master.vm.provider :virtualbox do |v|
v.name = master.vm.hostname.to_s
end
end
end
It will be a great help if any of you share your thoughts on the same.
Bets regards
U. M. Sundar