When i used centos/7 box it was resolved .Thanks for your interst in helping me Alvaro Miranda Aguilera vagrant box add centos/7
On Wed, Sep 12, 2018 at 12:29 PM Alvaro Miranda Aguilera <[email protected]> wrote: > hello > > > what is sahara? > > Also, try a different box first. > > mkdir p64 > vagrant init -m hashicorp/precise64 > vagrant up > > does this work? > > Whats your host OS ? > > On Mon, Sep 10, 2018 at 9:31 AM midhun raj <[email protected]> wrote: > >> I am trying to setup an RHCE lab on my machine.I installed vagrant >> version Vagrant 2.1.4 and virtualbox 5 on ubuntu 16.04. I downloaded >> centos-7.0-x86_64.box from [ >> https://computingforgeeks.com/how-to-addinstall-and-run-centos-7-vagrant-box-to-virtualbox-using-vagrant/][1] >> >> I installed vagrant plugins vagrant plugin vagrant-vbguest && sahara >> >> Here is my vagrant script >> >> >> >> # -*- mode: ruby -*-# vi: set ft=ruby : >> server_disk='server.vdi' >> desktop_disk='desktop.vdi'Vagrant.configure(2) do |config| >> config.vm.box = "centos/7" >> config.vm.define "classroom" do |s| >> s.vbguest.auto_update = false >> s.vm.network "private_network", ip: "192.168.33.254" >> s.vm.synced_folder ".", "/vagrant", disabled: true >> #s.vm.synced_folder "../repos", "/repos", owner: "root", group: "root" >> s.vm.synced_folder "scripts/classroom", "/usr/local/scripts", type: >> "rsync", owner: "root", group: "root" >> s.vm.provision "shell", inline: <<-SHELL >> chmod u+x /usr/local/scripts/classroom.sh >> /usr/local/scripts/classroom.sh >> SHELL >> end >> >> config.vm.define "server" do |a| >> a.vbguest.auto_update = false >> a.vm.provider "virtualbox" do |v| >> unless File.exist?(server_disk) >> v.customize ['createhd', '--filename', server_disk, '--size', 20 * 1024] >> end >> v.customize ['storageattach', :id, '--storagectl', 'IDE Controller', >> '--port', 1, '--device', 0, '--type', 'hdd', '--medium', server_disk] >> end >> a.vm.network "private_network", ip: "192.168.33.11" >> a.vm.synced_folder ".", "/vagrant", disabled: true >> a.vm.synced_folder "scripts/server", "/usr/local/scripts", type: "rsync", >> owner: "root", group: "root" >> a.vm.provision "shell", inline: <<-SHELL >> chmod u+x /usr/local/scripts/server.sh >> /usr/local/scripts/server.sh >> SHELL >> end >> >> >> >> When i run *sudo vagrant up* >> >> I get error >> >> An error occurred in the underlying SSH library that Vagrant uses. The >> error message is shown below. In many cases, errors from this library are >> caused by ssh-agent issues. Try disabling your SSH agent or removing some >> keys and try again. >> >> If the problem persists, please report a bug to the net-ssh project. >> >> timeout during server version negotiating >> >> I am following this https://github.com/frezbo/lab .Please do help me. >> >> >> >> >> >> >> >> >> >> -- >> 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/cce1126f-b791-429c-abc5-76112e19f875%40googlegroups.com >> <https://groups.google.com/d/msgid/vagrant-up/cce1126f-b791-429c-abc5-76112e19f875%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Alvaro > > -- > 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/CAHqq0ez2a2B4tYdspYoev34zi7wL3LfiKrLH982P%3D4DH5rUjiw%40mail.gmail.com > <https://groups.google.com/d/msgid/vagrant-up/CAHqq0ez2a2B4tYdspYoev34zi7wL3LfiKrLH982P%3D4DH5rUjiw%40mail.gmail.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/CAFyJK72a353A9pu%2ByvgYnYNDSuUh0_wtP4LWGPwtQc_%2B%3DA-g0A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
