Re: [packer] user: could not determine current user from environment.?

2018-04-04 Thread Matthew Hooker
For some reason, Packer couldn't identify the user from the environment. This may already be solved if you use a newer version of Packer, but otherwise the solution is to add "user": "" to the ansible provisioner, where is the ansible_user you want to use. We don't recommend running packer as

[packer] user: could not determine current user from environment.?

2018-04-04 Thread test
hi , i am trying to a gitlab-ci build using docker container ubuntu:latest i have installed packer and when i try to execute packer build command i am getting an error. please help me solve this error. My image.json file { "variables": { }, "builders": [{ "type": "amazon-ebs",

[packer] Windows Defender False Positives

2018-04-04 Thread Matthew Hooker
Hi Everyone, A recent release of Packer has been triggering Windows Defender, which is telling users that Packer contains a trojan. We've been in touch with Microsoft through the Windows Defender Security Intelligence program, and we can confirm this is a false positive. Updating your definitions

Re: [packer] Re: MSSQL Image with Packer

2018-04-04 Thread Alvaro Miranda Aguilera
Hi there, What about you open an issue and send a PR. ? Alvaro. On Wed, Apr 4, 2018 at 2:16 PM, Kris wrote: > I was on version 1.2.1, but upgraded to 1.2.2 this morning and have the > same issue. > > I did find the root cause though. In the driver_gce.go

[packer] Re: MSSQL Image with Packer

2018-04-04 Thread Kris
I was on version 1.2.1, but upgraded to 1.2.2 this morning and have the same issue. I did find the root cause though. In the driver_gce.go there is a function that lists the projects to search, windows-sql-cloud is not one of the projects. *func (d *driverGCE) GetImage(name string,

Re: [packer] Packer qemu with macvtap

2018-04-04 Thread Alvaro Miranda Aguilera
Hello Can you try some other project to see if works? ie try to build this: https://github.com/stardata/packer-centos7-kvm-example Then you can modify to suit On Wed, Apr 4, 2018 at 1:38 AM, wrote: > Hey Everyone, > > So far nothing has been particularly successful, I

Re: [packer] MSSQL Image with Packer

2018-04-04 Thread Alvaro Miranda Aguilera
Hello whats your packer version and can you share your template ? Seems sql-std-2016-win-2016 is correct in the list of public VMs. Alvaro On Tue, Apr 3, 2018 at 7:42 PM, Kris wrote: > I am attempting to build a custom image for SQL server, using > the