[packer] resetting network interface before saving image

2019-10-16 Thread Mauricio Tavares
So I have packer create a centos image, but when it saves (creates) it, it saves the old mac address, associating it with the default interface. Is there a way to remove that so when I create a vm guest based on said image it will configure the default interface based on whatever mac/uuid it is

[packer] ssh_name vs ssh_username

2019-10-09 Thread Mauricio Tavares
Has ssh_name been deprecated for ssh_username? -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues:

Re: [packer] Ending a template

2019-10-01 Thread Mauricio Tavares
rtual machine." Where should this directory be hiding at? > On Tue, Oct 1, 2019 at 10:25 AM Mauricio Tavares > wrote: > >> Stupid question: my test template >> >> { >> "variables": { >> "ssh_name" : "bubba", >

[packer] Ending a template

2019-10-01 Thread Mauricio Tavares
Stupid question: my test template { "variables": { "ssh_name" : "bubba", "ssh_pass" : "supersecret", "hostname": "testcentos", [...] }, "builders": [ { "type": "vmware-iso", "guest_os_type" : "{{user `guest_os`}}", "iso_url": "{{user `iso_url`}}",

[packer] Can't feed kickstart file from floppy

2019-09-13 Thread Mauricio Tavares
So I am trying to deploy a centos guest on a vmware host using packer. I want to feed the kickstart file using the a floppy drive (https://www.packer.io/docs/builders/vmware-iso.html#floppy_files). So, here is my setup: # Stolen from the last example in