diff --git a/packer/ovf.json b/packer/ovf.json index 7d2b1ac04ae2e8913cce683fafea8a262d02f912..ee6cc7bac95f897146a7f5eb6c885d23c7f714b4 100644 --- a/packer/ovf.json +++ b/packer/ovf.json @@ -34,10 +34,10 @@ ], "min_packer_version": "0.7.0", "variables": { - "dmg_url": "OSX_InstallESD_10.9.5_13F34.dmg", + "dmg_url": "dmg/OSX_InstallESD_10.9.5_13F34.dmg", "guest_os_type": "MacOS109_64", "machine_name": "macos109", - "output_directory": "{{env `PACKER_OUTPUT_DIR`}}", + "output_directory": "ovf", "password": "gitlab", "username": "gitlab" } diff --git a/packer/provision.json b/packer/provision.json index a94fabf79f6d0d48bb74b320dd30c2e5a72eba5b..1d117633a177d58def5361a9a6ff2a9f12c439e0 100644 --- a/packer/provision.json +++ b/packer/provision.json @@ -33,29 +33,29 @@ }, { "destination": "/private/tmp/set_kcpassword.py", - "source": "../scripts/support/set_kcpassword.py", + "source": "scripts/support/set_kcpassword.py", "type": "file" }, { "destination": "/private/tmp/set_kcpassword.py", - "source": "../scripts/support/set_kcpassword.py", + "source": "scripts/support/set_kcpassword.py", "type": "file" }, { "destination": "/tmp", - "source": "../xcode", + "source": "xcode", "type": "file" }, { "execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}", "scripts": [ - "../scripts/xcode-cli-tools.sh", - "../scripts/add-network-interface-detection.sh", - "../scripts/autologin.sh", - "../scripts/system-update.sh", - "../scripts/xcode-sdk.sh", - "../scripts/optimize.sh", - "../scripts/shrink.sh" + "scripts/xcode-cli-tools.sh", + "scripts/add-network-interface-detection.sh", + "scripts/autologin.sh", + "scripts/system-update.sh", + "scripts/xcode-sdk.sh", + "scripts/optimize.sh", + "scripts/shrink.sh" ], "environment_vars": [ "XCODE_SDK_VERSION={{user `xcode_sdk_version`}}", @@ -71,7 +71,7 @@ "guest_os_type": "MacOS109_64", "machine_name": "macos109", "xcode_sdk_version": "109", - "output_directory": "ova/macosx109.ova", + "output_directory": "ova", "password": "gitlab", "username": "gitlab", "provisioning_delay": "0"