Git Product home page Git Product logo

Comments (7)

smileboywtu avatar smileboywtu commented on August 19, 2024 1

the answer is yes for newly installed vagrant, just add the line:

VAGRANTFILE_API_VERSION = "2"

ENV['VAGRANT_DEFAULT_PROVIDER'] = 'virtualbox'

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "ubuntu/trusty64"
  config.vm.network "private_network", ip: "10.10.10.5"
  config.vm.hostname = "facebookCTF-Dev"
  config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
  config.vm.provision "shell", path: "extra/provision.sh", privileged: false
  config.vm.provider "virtualbox" do |v|
    v.memory = 4096
    v.cpus = 4
  end
end

make sure to set the provider for vagrant first.

from fbctf.

marjoripomarole avatar marjoripomarole commented on August 19, 2024

I haven't tried it, so no promises it will work, but fedora can run vagrant. So after you clone the repo, run vagrant up and it will create a Ubuntu VM to run the site. Then you can access it on port 10.10.10.5.

from fbctf.

smileboywtu avatar smileboywtu commented on August 19, 2024

provider error:

==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
default: Box Provider: libvirt
default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/trusty64'
default: URL: https://atlas.hashicorp.com/ubuntu/trusty64
The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.

If you're adding a box from HashiCorp's Atlas, make sure the box is
released.

Name: ubuntu/trusty64
Address: https://atlas.hashicorp.com/ubuntu/trusty64
Requested provider: [:libvirt]

from fbctf.

gsingh93 avatar gsingh93 commented on August 19, 2024

Are you using our Vagrantfile? Our file uses VirtualBox as the provider. Can you try it with that?

from fbctf.

smileboywtu avatar smileboywtu commented on August 19, 2024

cd /fbctf
vagrant up

now I just try other provider, I'm not very familiar with vagrant.

from fbctf.

smileboywtu avatar smileboywtu commented on August 19, 2024
➜  fbctf git:(master) vagrant -v
Vagrant 1.8.1

virtualbox 5.0.20

from fbctf.

smileboywtu avatar smileboywtu commented on August 19, 2024

will this the reason for showing this error:

Bringing machine 'default' up with 'libvirt' provider...

from fbctf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.