Skip to content

Instantly share code, notes, and snippets.

@ybizeul
Created July 26, 2016 13:55
Show Gist options
  • Save ybizeul/ec3a1cbe9a06c9a9a4d93ff663b82527 to your computer and use it in GitHub Desktop.
Save ybizeul/ec3a1cbe9a06c9a9a4d93ff663b82527 to your computer and use it in GitHub Desktop.
{
"builders": [
{
"type": "vmware-iso",
"iso_url": "http://cdimage.debian.org/debian-cd/8.5.0/amd64/iso-cd/debian-8.5.0-amd64-netinst.iso",
"iso_checksum": "3e1b9029a0cf188730646c379d15073f",
"iso_checksum_type": "md5",
"iso_target_path":"debian.iso",
"output_directory":"adva",
"ssh_username": "root",
"ssh_password": "NetappGrafanaVA",
"ssh_timeout": "1200s",
"headless":"false",
"vm_name": "adva",
"shutdown_command": "shutdown -P now",
"disk_size":7168,
"disk_type_id": 0,
"disk_additional_size": [ 204800 ],
"http_directory": "./",
"boot_command": [
"<esc>install priority=critical debian-installer/locale=en_US keyboard-configuration/xkb-keymap=us auto url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg<enter>"
]
}
],
"provisioners": [
{
"type":"file",
"source":"../.",
"destination":"/usr/local/adva"
},
{
"type": "shell",
"inline": [ "cd /usr/local/adva/","./install -b" ]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment