64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"builders": [
|
|
{
|
|
"type": "vsphere-iso",
|
|
"CPUs": 1,
|
|
"RAM": 512,
|
|
"RAM_reserve_all": true,
|
|
"boot_command": [
|
|
"root<enter><wait>",
|
|
"mount -t vfat /dev/fd0 /media/floppy<enter><wait>",
|
|
"setup-alpine -f /media/floppy/answerfile<enter>",
|
|
"<wait5>",
|
|
"jetbrains<enter>",
|
|
"jetbrains<enter>",
|
|
"<wait5>",
|
|
"y<enter>",
|
|
"<wait10><wait10><wait10><wait10>",
|
|
"reboot<enter>",
|
|
"<wait10><wait10>",
|
|
"root<enter>",
|
|
"jetbrains<enter><wait>",
|
|
"mount -t vfat /dev/fd0 /media/floppy<enter><wait>",
|
|
"/media/floppy/SETUP.SH<enter>"
|
|
],
|
|
"boot_wait": "15s",
|
|
"disk_controller_type": "pvscsi",
|
|
"floppy_files": [
|
|
"{{template_dir}}/answerfile",
|
|
"{{template_dir}}/setup.sh"
|
|
],
|
|
"guest_os_type": "other3xLinux64Guest",
|
|
"host": "esxi-1.vsphere65.test",
|
|
"insecure_connection": true,
|
|
"iso_paths": [
|
|
"[datastore1] ISO/alpine-standard-3.8.2-x86_64.iso"
|
|
],
|
|
"network_adapters": [
|
|
{
|
|
"network_card": "vmxnet3"
|
|
}
|
|
],
|
|
"password": "jetbrains",
|
|
"ssh_password": "jetbrains",
|
|
"ssh_username": "root",
|
|
"storage": [
|
|
{
|
|
"disk_size": 1024,
|
|
"disk_thin_provisioned": true
|
|
}
|
|
],
|
|
"username": "root",
|
|
"vcenter_server": "vcenter.vsphere65.test",
|
|
"vm_name": "alpine-{{timestamp}}"
|
|
}
|
|
],
|
|
"provisioners": [
|
|
{
|
|
"inline": [
|
|
"ls /"
|
|
],
|
|
"type": "shell"
|
|
}
|
|
]
|
|
} |