From f81aa912e2cbb39f73599423a93144ecb24cd22e Mon Sep 17 00:00:00 2001 From: malwarenights Date: Tue, 9 May 2017 01:37:04 +0200 Subject: [PATCH 1/2] Reverse the order of searching for packer-io, otherwise on Fedora/RedHat/Centos and others the first binary found ('packer') will be always the wrong one from cracklib package having colliding name --- malboxes/malboxes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/malboxes/malboxes.py b/malboxes/malboxes.py index 9f07244..502da8f 100755 --- a/malboxes/malboxes.py +++ b/malboxes/malboxes.py @@ -303,9 +303,9 @@ def run_packer(packer_tmpl, args): try: # packer or packer-io? - binary = 'packer' + binary = 'packer-io' if shutil.which(binary) == None: - binary = 'packer-io' + binary = 'packer' if shutil.which(binary) == None: print("packer not found. Install it: " "https://www.packer.io/intro/getting-started/setup.html") From ce07d3ded5a2f459bfb10919b5b3dc694f7774a0 Mon Sep 17 00:00:00 2001 From: malwarenights Date: Fri, 12 May 2017 16:23:43 +0200 Subject: [PATCH 2/2] set default vagrant provider to virtualbox for now --- malboxes/vagrantfiles/analyst_single.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/malboxes/vagrantfiles/analyst_single.rb b/malboxes/vagrantfiles/analyst_single.rb index a9b12a4..9f83099 100644 --- a/malboxes/vagrantfiles/analyst_single.rb +++ b/malboxes/vagrantfiles/analyst_single.rb @@ -1,5 +1,7 @@ # -*- mode: ruby -*- # vi: set ft=ruby : +ENV['VAGRANT_DEFAULT_PROVIDER'] = 'virtualbox' + Vagrant.configure(2) do |config| config.vm.box = "{{ profile }}" config.vm.provider "virtualbox" do |vb|