Last active
March 31, 2020 18:10
-
-
Save jps3/f0edf7a999de737e6975e04315b33bad to your computer and use it in GitHub Desktop.
Testing Adobe Creative Cloud Desktop App installation (before and after)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.define "win10-adobecc" do |win| | |
win.vm.box = "eval-win10x64-enterprise-ssh-saltlatest" | |
win.vm.hostname = "win10-adobecc" | |
win.vm.provider "vmware_desktop" do |v| | |
v.vmx["memsize"] = "2048" | |
v.vmx["numvcpus"] = "2" | |
v.gui = true | |
end | |
end | |
config.vm.define "win10-adobecc-installed", primary: true do |win| | |
win.vm.box = "eval-win10x64-enterprise-ssh-saltlatest" | |
win.vm.hostname = "win10-adobecc" | |
win.vm.provider "vmware_desktop" do |v| | |
v.vmx["memsize"] = "2048" | |
v.vmx["numvcpus"] = "2" | |
v.gui = true | |
end | |
win.vm.provision "shell", inline: <<-SCRIPT_CCDA | |
# Create C:/Temp directory | |
# Copy C:/vagrant/CCDA_win_x64_en_US_WIN_64.zip to C:/Temp | |
# Unarchive C:/Temp/CCDA_win_x64_en_US_WIN_64.zip | |
# Change WorkingDirectory to C:/Temp/CCDA_win_x64 | |
Start-Process -WorkingDirectory 'C:\\vagrant\\CCDA_win_x64\\Build' msiexec.exe -Wait -ArgumentList '/I CCDA_win_x64.msi' | |
SCRIPT_CCDA | |
end | |
# config.vm.define "mac-adobecc" do |mac| | |
# mac.vm.box = "" | |
# mac.vm.hostname = "mac-adobecc" | |
# mac.vm.provider "vmware_desktop" do |v| | |
# v.vmx["memsize"] = "2048" | |
# v.vmx["numvcpus"] = "2" | |
# v.gui = true | |
# end | |
# end | |
# config.vm.define "mac-adobecc-installed", primary: true do |mac| | |
# mac.vm.box = "" | |
# mac.vm.hostname = "mac-adobecc" | |
# mac.vm.provider "vmware_desktop" do |v| | |
# v.vmx["memsize"] = "2048" | |
# v.vmx["numvcpus"] = "2" | |
# v.gui = true | |
# end | |
# mac.vm.provision "shell", inline: <<-SCRIPT_CCDA | |
# printf '\n* * * * NOT IMPLEMENTED YET * * * *\n' >&2 | |
# SCRIPT_CCDA | |
# end | |
if Vagrant::Util::Platform.windows? then | |
config.vm.provision "shell", inline: <<-SCRIPT_CHOCO | |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
SCRIPT_CHOCO | |
elsif Vagrant::Util::Platform.darwin? then | |
config.vm.provision "shell", inline: <<-SCRIPT_HOMEBREW | |
printf '\n* * * * NOT IMPLEMENTED YET * * * *\n' >&2 | |
SCRIPT_HOMEBREW | |
end | |
if Vagrant::Util::Platform.windows? then | |
config.vm.provision "shell", inline: <<-SCRIPT_GOOGLECHROME | |
choco upgrade all --yes | |
choco install GoogleChrome --yes | |
SCRIPT_GOOGLECHROME | |
elsif Vagrant::Util::Platform.darwin? then | |
config.vm.provision "shell", inline: <<-SCRIPT_GOOGLECHROME | |
printf '\n* * * * NOT IMPLEMENTED YET * * * *\n' >&2 | |
SCRIPT_GOOGLECHROME | |
end | |
end |
Cleaned up and normalized whitespace to two spaces (no tab)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added skeleton for adding macOS VMs. Added OS conditionals for provision scripts.