Skip to content
Snippets Groups Projects
Commit 87865457 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Minor fixes to packer files

parent 4b22f303
No related branches found
No related tags found
No related merge requests found
...@@ -34,10 +34,10 @@ ...@@ -34,10 +34,10 @@
], ],
"min_packer_version": "0.7.0", "min_packer_version": "0.7.0",
"variables": { "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", "guest_os_type": "MacOS109_64",
"machine_name": "macos109", "machine_name": "macos109",
"output_directory": "{{env `PACKER_OUTPUT_DIR`}}", "output_directory": "ovf",
"password": "gitlab", "password": "gitlab",
"username": "gitlab" "username": "gitlab"
} }
......
...@@ -33,29 +33,29 @@ ...@@ -33,29 +33,29 @@
}, },
{ {
"destination": "/private/tmp/set_kcpassword.py", "destination": "/private/tmp/set_kcpassword.py",
"source": "../scripts/support/set_kcpassword.py", "source": "scripts/support/set_kcpassword.py",
"type": "file" "type": "file"
}, },
{ {
"destination": "/private/tmp/set_kcpassword.py", "destination": "/private/tmp/set_kcpassword.py",
"source": "../scripts/support/set_kcpassword.py", "source": "scripts/support/set_kcpassword.py",
"type": "file" "type": "file"
}, },
{ {
"destination": "/tmp", "destination": "/tmp",
"source": "../xcode", "source": "xcode",
"type": "file" "type": "file"
}, },
{ {
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}", "execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}",
"scripts": [ "scripts": [
"../scripts/xcode-cli-tools.sh", "scripts/xcode-cli-tools.sh",
"../scripts/add-network-interface-detection.sh", "scripts/add-network-interface-detection.sh",
"../scripts/autologin.sh", "scripts/autologin.sh",
"../scripts/system-update.sh", "scripts/system-update.sh",
"../scripts/xcode-sdk.sh", "scripts/xcode-sdk.sh",
"../scripts/optimize.sh", "scripts/optimize.sh",
"../scripts/shrink.sh" "scripts/shrink.sh"
], ],
"environment_vars": [ "environment_vars": [
"XCODE_SDK_VERSION={{user `xcode_sdk_version`}}", "XCODE_SDK_VERSION={{user `xcode_sdk_version`}}",
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
"guest_os_type": "MacOS109_64", "guest_os_type": "MacOS109_64",
"machine_name": "macos109", "machine_name": "macos109",
"xcode_sdk_version": "109", "xcode_sdk_version": "109",
"output_directory": "ova/macosx109.ova", "output_directory": "ova",
"password": "gitlab", "password": "gitlab",
"username": "gitlab", "username": "gitlab",
"provisioning_delay": "0" "provisioning_delay": "0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment