Giter VIP home page Giter VIP logo

Comments (8)

Sliim avatar Sliim commented on May 24, 2024

Hi @tiferrei ,
Yes, the kali box is by default started with GUI, you can disable it by putting this in your ~/.pentestrc:

kali:
  vbox:
    gui: false

Find more customizations here: https://github.com/Sliim/pentest-env/blob/master/docs/Customizations.md

from pentest-env.

tiferrei avatar tiferrei commented on May 24, 2024

I tried:

kali:
  vbox:
    customize:
      gui: false
      memory: 3072

However I always get:

There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.

Path: /Users/tiferrei/Virtual Machines/Kali/init/Vagrantfile
Line number: 0
Message: Psych::SyntaxError: (<unknown>): found character that cannot start any token while scanning for the next token at line 4 column 1

What am I doing wrong?
BTW this is in ~/.pentestrc.

from pentest-env.

tiferrei avatar tiferrei commented on May 24, 2024

And with:

kali:
  vbox:
    gui: false

vagrant status works, but vagrant up shows:

Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* A box must be specified.

from pentest-env.

Sliim avatar Sliim commented on May 24, 2024

Are you running vagrant inside pentest-env repo?

Try with:

instances:
  - kali

kali:
  vbox:
    gui: false

vagrant status should display kali vm, not default

from pentest-env.

tiferrei avatar tiferrei commented on May 24, 2024

@Sliim It worked with that! But how can I set the RAM and CPU?

from pentest-env.

Sliim avatar Sliim commented on May 24, 2024
instances:
  - kali
kali:
  vbox:
    gui: false
    cpus: 2
    memory: 8192

or

instances:
  - kali
kali:
  vbox:
    gui: false
    customize:
      cpus: 2
      memory: 8192

See https://github.com/Sliim/pentest-env/blob/master/docs/Customizations.md#virtualbox

from pentest-env.

tiferrei avatar tiferrei commented on May 24, 2024

It doesn't seem to like to mess with cpus and memory:

There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.

Path: /Users/tiferrei/Virtual Machines/Kali/init/Vagrantfile
Line number: 0
Message: Psych::SyntaxError: (<unknown>): found a tab character that violate intendation while scanning a plain scalar at line 7 column 11

from pentest-env.

tiferrei avatar tiferrei commented on May 24, 2024

Never mind, it randomly started working :)

from pentest-env.

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.