Skip to content

Instantly share code, notes, and snippets.

@aalbertson
Created February 5, 2019 19:52
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aalbertson/e2f3a63ff92800a16c6251de0a0a1f85 to your computer and use it in GitHub Desktop.
Save aalbertson/e2f3a63ff92800a16c6251de0a0a1f85 to your computer and use it in GitHub Desktop.
example disable audio - vagrant mac virtualbox v2 config
$ cat Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-16.04"
config.vm.define "LogsParsing"
config.vm.network "forwarded_port", guest: 8080, host: 8080, auto_correct: true
config.vm.provision :file, source: './provision.sh', destination: '~/provision.sh'
config.vm.provision "shell", run: 'always', path: "./provision.sh", privileged: false
config.vm.provision :file, source: './apikey.env', destination: '~/apikey.env'
# begin disable audio
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--audio", "none"]
end
# end disable audio
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment