On Tue, 12 Feb 2019, 17:19 racoon <[email protected] wrote:

> Hey guys,
>
> I use the following:
> - Packer v1.3.4
> - OS: Fedora 29 Workstation (4.20.6-200.fc29.x86_64)
> - Virtualization Platform: VMware Workstation 15.0.2 build-10952284
> - Editor: Visual Studio version: 1.31.0
>
> My goal is:
> - I try to build templates for VMs (mainly Debian, CentOS & Fedora)
>
> The problem:
> I recognized that packer can not build a vm when it is executed by Visual
> Studio as a task.
> E.g. while installing Debian, the installation stops right after getting
> an IP address from DHCP Server and try to retrieve the preseed.cfg. I can
> see it when I switch console with ALT + F4. Nothing happens.
>
> My tasks.json looks like this:
> {
> // See https://go.microsoft.com/fwlink/?LinkId=733558
> // for the documentation about the tasks.json format
> "version": "2.0.0",
> "tasks": [
> {
> "label": "validate",
> "type": "shell",
> "command": "packer",
> "args": [
> "validate",
> "/home/racoon/packer/debian/test.json"
> ]
> },
> {
> "label": "build",
> "type": "shell",
> "command": "packer",
> "args": [
> "build",
> "/home/racoon/packer/debian/test.json"
> ]
> }
> ]
> }
>
> When I execute the build command with the same JSON config from the
> command line everything works fine as expected.
>
> [user@workstation]$ packer build debian-stretch.json
>
> Does anyone have a clue why this behaviour occurs? Help would be much
> appreciated.
>
> --
> 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: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/06dd31b3-da3b-4941-85cf-2d6d2ea05bb4%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/06dd31b3-da3b-4941-85cf-2d6d2ea05bb4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAJidHweLx%2B%2B1P8TYpvuGUSFs73CgndWWbuBEur0BdMg%2B0UFg3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to