Repository: metron Updated Branches: refs/heads/master d599efb08 -> 12e3ae548
METRON-1890 Metron Vagrant should disable audio (ottobackwards) closes apache/metron#1277 Project: http://git-wip-us.apache.org/repos/asf/metron/repo Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/12e3ae54 Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/12e3ae54 Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/12e3ae54 Branch: refs/heads/master Commit: 12e3ae548af6bd408a31fde0d1d8cf23cefdf325 Parents: d599efb Author: ottobackwards <ottobackwa...@gmail.com> Authored: Wed Nov 21 09:28:01 2018 -0500 Committer: otto <o...@apache.org> Committed: Wed Nov 21 09:28:01 2018 -0500 ---------------------------------------------------------------------- metron-deployment/development/centos6/Vagrantfile | 2 ++ metron-deployment/development/fastcapa/centos-7.1/Vagrantfile | 2 ++ metron-deployment/development/fastcapa/centos-7.4/Vagrantfile | 2 ++ metron-deployment/development/ubuntu14/Vagrantfile | 2 ++ 4 files changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/metron/blob/12e3ae54/metron-deployment/development/centos6/Vagrantfile ---------------------------------------------------------------------- diff --git a/metron-deployment/development/centos6/Vagrantfile b/metron-deployment/development/centos6/Vagrantfile index 05823a2..50571b4 100644 --- a/metron-deployment/development/centos6/Vagrantfile +++ b/metron-deployment/development/centos6/Vagrantfile @@ -88,6 +88,8 @@ Vagrant.configure(2) do |config| if host.has_key?(:promisc) vb.customize ["modifyvm", :id, "--nicpromisc#{host[:promisc]}", "allow-all"] end + # disable audio, so that the vm doesn't capture the sound / mic + vb.customize ["modifyvm", :id, "--audio", "none"] end end end http://git-wip-us.apache.org/repos/asf/metron/blob/12e3ae54/metron-deployment/development/fastcapa/centos-7.1/Vagrantfile ---------------------------------------------------------------------- diff --git a/metron-deployment/development/fastcapa/centos-7.1/Vagrantfile b/metron-deployment/development/fastcapa/centos-7.1/Vagrantfile index 179ca34..39c8d32 100644 --- a/metron-deployment/development/fastcapa/centos-7.1/Vagrantfile +++ b/metron-deployment/development/fastcapa/centos-7.1/Vagrantfile @@ -58,6 +58,8 @@ Vagrant.configure("2") do |config| # network adapter settings; [Am79C970A|Am79C973|82540EM|82543GC|82545EM|virtio] vb.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"] vb.customize ["modifyvm", :id, "--nictype2","82545EM"] + # disable audio, so that the vm doesn't capture the sound / mic + vb.customize ["modifyvm", :id, "--audio", "none"] end # provision host http://git-wip-us.apache.org/repos/asf/metron/blob/12e3ae54/metron-deployment/development/fastcapa/centos-7.4/Vagrantfile ---------------------------------------------------------------------- diff --git a/metron-deployment/development/fastcapa/centos-7.4/Vagrantfile b/metron-deployment/development/fastcapa/centos-7.4/Vagrantfile index c62a0f1..3e55d09 100644 --- a/metron-deployment/development/fastcapa/centos-7.4/Vagrantfile +++ b/metron-deployment/development/fastcapa/centos-7.4/Vagrantfile @@ -58,6 +58,8 @@ Vagrant.configure("2") do |config| # network adapter settings; [Am79C970A|Am79C973|82540EM|82543GC|82545EM|virtio] vb.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"] vb.customize ["modifyvm", :id, "--nictype2","82545EM"] + # disable audio, so that the vm doesn't capture the sound / mic + vb.customize ["modifyvm", :id, "--audio", "none"] end # provision host http://git-wip-us.apache.org/repos/asf/metron/blob/12e3ae54/metron-deployment/development/ubuntu14/Vagrantfile ---------------------------------------------------------------------- diff --git a/metron-deployment/development/ubuntu14/Vagrantfile b/metron-deployment/development/ubuntu14/Vagrantfile index facc3cc..ab44491 100644 --- a/metron-deployment/development/ubuntu14/Vagrantfile +++ b/metron-deployment/development/ubuntu14/Vagrantfile @@ -83,6 +83,8 @@ Vagrant.configure(2) do |config| node.vm.provider "virtualbox" do |vb| vb.memory = host[:memory] vb.cpus = host[:cpus] + # disable audio, so that the vm doesn't capture the sound / mic + vb.customize ["modifyvm", :id, "--audio", "none"] end end end