>
> Thanks, it's getting more and more clear now but even very simple json 
> (see my original message) causes:


...
==> build-aws-hmv: Mounting the root device...
2016/09/16 09:26:02 ui: ==> build-aws-hmv: Mounting the root device...
2016/09/16 09:26:02 ui: ==> build-aws-hmv: Mounting additional paths within 
the chroot...
==> build-aws-hmv: Mounting additional paths within the chroot...
2016/09/16 09:26:02 ui:     build-aws-hmv: Mounting: /proc
    build-aws-hmv: Mounting: /proc
2016/09/16 09:26:02 ui:     build-aws-hmv: Mounting: /sys
    build-aws-hmv: Mounting: /sys
2016/09/16 09:26:02 ui:     build-aws-hmv: Mounting: /dev
    build-aws-hmv: Mounting: /dev
2016/09/16 09:26:02 ui:     build-aws-hmv: Mounting: /dev/pts
    build-aws-hmv: Mounting: /dev/pts
2016/09/16 09:26:02 ui:     build-aws-hmv: Mounting: 
/proc/sys/fs/binfmt_misc
    build-aws-hmv: Mounting: /proc/sys/fs/binfmt_misc
2016/09/16 09:26:02 ui: ==> build-aws-hmv: Copying files from host to 
chroot...
==> build-aws-hmv: Copying files from host to chroot...
    build-aws-hmv: /etc/resolv.conf
2016/09/16 09:26:02 ui:     build-aws-hmv: /etc/resolv.conf
2016/09/16 09:26:02 packer: 2016/09/16 09:26:02 Copying '/etc/resolv.conf' 
to '/mnt/packer-amazon-chroot-volumes/xvdf/etc/resolv.conf'
2016/09/16 09:26:02 ui error: ==> build-aws-hmv: Error copying file: exit 
status 1
==> build-aws-hmv: nStderr: cp: cannot create regular file 
'/mnt/packer-amazon-chroot-volumes/xvdf/etc/resolv.conf': No such file or 
directory
==> build-aws-hmv:
==> build-aws-hmv: Error copying file: exit status 1
==> build-aws-hmv: nStderr: cp: cannot create regular file 
'/mnt/packer-amazon-chroot-volumes/xvdf/etc/resolv.conf': No such file or 
directory
==> build-aws-hmv:
2016/09/16 09:26:02 ui: ==> build-aws-hmv: Unmounting the root device...
==> build-aws-hmv: Unmounting the root device...
2016/09/16 09:26:02 ui: ==> build-aws-hmv: Detaching EBS volume...
==> build-aws-hmv: Detaching EBS volume...
2016/09/16 09:26:02 packer: 2016/09/16 09:26:02 Waiting for state to 
become: detached
2016/09/16 09:26:02 packer: 2016/09/16 09:26:02 Allowing 300s to complete 
(change with AWS_TIMEOUT_SECONDS)
2016/09/16 09:26:11 ui: ==> build-aws-hmv: Deleting the created EBS 
volume...
==> build-aws-hmv: Deleting the created EBS volume...
2016/09/16 09:26:11 ui error: Build 'build-aws-hmv' errored: Error copying 
file: exit status 1
nStderr: cp: cannot create regular file 
'/mnt/packer-amazon-chroot-volumes/xvdf/etc/resolv.conf': No such file or 
directory

2016/09/16 09:26:11 Builds completed. Waiting on interrupt barrier...
2016/09/16 09:26:11 machine readable: error-count []string{"1"}
2016/09/16 09:26:11 ui error:
==> Some builds didn't complete successfully and had errors:
2016/09/16 09:26:11 machine readable: build-aws-hmv,error []string{"Error 
copying file: exit status 1\nnStderr: cp: cannot create regular file 
'/mnt/packer-amazon-chroot-volumes/xvdf/etc/resolv.conf': No such file or 
directory\n"}
2016/09/16 09:26:11 ui error: --> build-aws-hmv: Error copying file: exit 
status 1
nStderr: cp: cannot create regular file 
'/mnt/packer-amazon-chroot-volumes/xvdf/etc/resolv.conf': No such file or 
directory
2016/09/16 09:26:11 ui:
==> Builds finished but no artifacts were created.
2016/09/16 09:26:11 waiting for all plugin processes to complete...
2016/09/16 09:26:11 /packer/packer: plugin process exited
Build 'build-aws-hmv' errored: Error copying file: exit status 1
nStderr: cp: cannot create regular file 
'/mnt/packer-amazon-chroot-volumes/xvdf/etc/resolv.conf': No such file or 
directory


==> Some builds didn't complete successfully and had errors:
--> build-aws-hmv: Error copying file: exit status 1
nStderr: cp: cannot create regular file 
'/mnt/packer-amazon-chroot-volumes/xvdf/etc/resolv.conf': No such file or 
directory


==> Builds finished but no artifacts were created.
2016/09/16 09:26:11 /packer/packer: plugin process exited
 

 

-- 
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 packer-tool+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/157b21e8-da67-4356-89a9-e0e91da9bed0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to