Created
April 8, 2015 18:35
-
-
Save trodemaster/8353e5ea4eb1194955c9 to your computer and use it in GitHub Desktop.
vmx_data_post not working Ubuntu1504.json
This file contains hidden or 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
| { | |
| "builders": [ | |
| { | |
| "type": "vmware-iso", | |
| "guest_os_type" : "ubuntu-64", | |
| "output_directory": "VM/Ubuntu1504", | |
| "iso_url": "ISO/ubuntu-15.04-beta2-server-amd64.iso", | |
| "iso_checksum": "5cd507c09e92fae1660faf4e6e2ceb8f6cb9532d985f35ebce32a2931b73b261", | |
| "iso_checksum_type": "sha256", | |
| "http_directory": "http", | |
| "ssh_username": "borkuser", | |
| "ssh_password": "borkpass", | |
| "headless": false, | |
| "disk_size": "102400", | |
| "disk_type_id": "0", | |
| "vm_name": "Ubuntu1504", | |
| "vmdk_name": "Ubuntu1504", | |
| "boot_wait": "5s", | |
| "boot_command": [ | |
| "<esc><wait>", | |
| "<esc><wait>", | |
| "<enter><wait>", | |
| "/install/vmlinuz<wait>", | |
| " auto<wait>", | |
| " console-setup/ask_detect=false<wait>", | |
| " console-setup/layoutcode=us<wait>", | |
| " console-setup/modelcode=pc105<wait>", | |
| " debconf/frontend=noninteractive<wait>", | |
| " debian-installer=en_US<wait>", | |
| " fb=false<wait>", | |
| " initrd=/install/initrd.gz<wait>", | |
| " kbd-chooser/method=us<wait>", | |
| " keyboard-configuration/layout=USA<wait>", | |
| " keyboard-configuration/variant=USA<wait>", | |
| " locale=en_US<wait>", | |
| " netcfg/get_domain=corp.adobe.com<wait>", | |
| " netcfg/get_hostname=Ubuntu1504<wait>", | |
| " noapic<wait>", | |
| " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg<wait>", | |
| " -- <wait>", | |
| "<enter><wait>" | |
| ], | |
| "vmx_data": { | |
| "ethernet0.virtualdev" : "vmxnet3", | |
| "scsi0.virtualdev" : "pvscsi", | |
| "virtualhw.productcompatibility" : "hosted", | |
| "virtualhw.version" : "10", | |
| "cpuid.coresPerSocket": "2", | |
| "memsize": "8192", | |
| "numvcpus": "2" | |
| }, | |
| "shutdown_command": "sudo shutdown -P now", | |
| "shutdown_timeout": "5m", | |
| "vmx_data_post": { | |
| "memsize" : "4096", | |
| "numvcpus" : "1", | |
| "ide1:0.startConnected" : "FALSE", | |
| "ide1:0.deviceType" : "atapi-cdrom", | |
| "ide1:0.fileName" : "cdrom0", | |
| "ide1:0.present" : "TRUE" | |
| } | |
| } | |
| ], | |
| "provisioners": [ | |
| { | |
| "type": "shell", | |
| "scripts": [ | |
| "scripts/tools-ubuntu-openvm.sh", | |
| "scripts/ubuntu.sh", | |
| "scripts/minimize.sh" | |
| ] | |
| }, | |
| { | |
| "type": "shell", | |
| "inline": "sudo passwd -l borkuser" | |
| } | |
| ] | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment