Skip to content

Instantly share code, notes, and snippets.

@nite
nite / kali.md
Last active January 27, 2022 19:00

How to Spin up a VM on OSX via Command line

All you need to do is run the commands here in OSX terminal - the links are for reference.

Install these with the following few commands:

  • Homebrew, a command-line tool for installing apps on OSX
  • virtualbox, a free VM runner on OSX
  • vagrant, a command line VM runner for virtualbox

This will allow you to spin up a VM with a single command - you wont need to install virtualbox & vagrant again if you need another VM.

function FindProxyForURL(url, host) {
// If we are not on the office network or VPN, then use a proxy
if (!isInNet(myIpAddress(), "192.168.48.0", "255.255.240.0")) {
if (shExpMatch(host, "*staging.bmll.io") ||
(!shExpMatch(host, "innovation.dev.bmll.io") && shExpMatch(host, "*dev.bmll.io")) ||
shExpMatch(host, "*lab.bmlldev.com") ||
shExpMatch(host, "*staticweb.bmlldev.com") ||
shExpMatch(host, "*staging.bmlldev.com") ||
shExpMatch(host, "*dev.bmlldev.com") ||
shExpMatch(host, "*james.bmll.io") ||