diff --git a/.env.sample b/.env.sample index d71dcb4..ee699a5 100644 --- a/.env.sample +++ b/.env.sample @@ -1 +1,5 @@ -ATLAS_TOKEN= \ No newline at end of file +ATLAS_TOKEN= +DEVELOPER_PLAYBOOK= +ATLAS_BUILD_SLUG= +ATLAS_TOKEN= +ATLAS_BUILD_NUMBER= \ No newline at end of file diff --git a/Gemfile b/Gemfile index 3a359d9..1d6ddab 100644 --- a/Gemfile +++ b/Gemfile @@ -2,5 +2,4 @@ source "https://rubygems.org" gem "rake" -gem "json" gem "dotenv" diff --git a/Gemfile.lock b/Gemfile.lock index 96f457b..4b84af2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,6 @@ GEM remote: https://rubygems.org/ specs: dotenv (2.0.2) - json (1.8.1) rake (10.4.2) PLATFORMS @@ -10,7 +9,6 @@ PLATFORMS DEPENDENCIES dotenv - json rake BUNDLED WITH diff --git a/Rakefile b/Rakefile index 1638188..d61fb10 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,12 @@ +require "rubygems" +require "bundler/setup" + +require "dotenv" require "json" require "yaml" +Dotenv.load + DEFAULT_BASE_OS = "ubuntu-15.04" DEFAULT_VIRT = "vmware" diff --git a/scripts/common/vmtools.sh b/scripts/common/vmtools.sh index 5acdbba..ad9474c 100644 --- a/scripts/common/vmtools.sh +++ b/scripts/common/vmtools.sh @@ -18,15 +18,9 @@ virtualbox-iso|virtualbox-ovf) ;; vmware-iso|vmware-vmx) - mkdir -p /tmp/vmfusion; - mkdir -p /tmp/vmfusion-archive; - mount -o loop $HOME_DIR/linux.iso /tmp/vmfusion; - tar xzf /tmp/vmfusion/VMwareTools-*.tar.gz -C /tmp/vmfusion-archive; - /tmp/vmfusion-archive/vmware-tools-distrib/vmware-install.pl --default; - umount /tmp/vmfusion; - rm -rf /tmp/vmfusion; - rm -rf /tmp/vmfusion-archive; - rm -f $HOME_DIR/*.iso; + apt-get install open-vm-tools; + apt-get install open-vm-tools-dkms; + dpkg-reconfigure open-vm-tools-dkms; ;; parallels-iso|parallels-pvm)