Skip to content

Instantly share code, notes, and snippets.

@sbarthelemy
Created November 1, 2019 11:20
Show Gist options
  • Save sbarthelemy/78e6478bbae2c46154cf7b33321d48d2 to your computer and use it in GitHub Desktop.
Save sbarthelemy/78e6478bbae2c46154cf7b33321d48d2 to your computer and use it in GitHub Desktop.
packer log
$ PACKER_LOG=1 packer build -force test.json
2019/11/01 11:57:35 [INFO] Packer version: 1.4.4
2019/11/01 11:57:35 Packer Target OS/Arch: linux amd64
2019/11/01 11:57:35 Built with Go Version: go1.13
2019/11/01 11:57:35 Detected home directory from env var: /home/sbarthelemy
2019/11/01 11:57:35 Using internal plugin for vmware-iso
2019/11/01 11:57:35 Using internal plugin for file
2019/11/01 11:57:35 Using internal plugin for oracle-classic
2019/11/01 11:57:35 Using internal plugin for osc-bsuvolume
2019/11/01 11:57:35 Using internal plugin for osc-chroot
2019/11/01 11:57:35 Using internal plugin for parallels-iso
2019/11/01 11:57:35 Using internal plugin for virtualbox-ovf
2019/11/01 11:57:35 Using internal plugin for lxd
2019/11/01 11:57:35 Using internal plugin for null
2019/11/01 11:57:35 Using internal plugin for amazon-chroot
2019/11/01 11:57:35 Using internal plugin for amazon-instance
2019/11/01 11:57:35 Using internal plugin for hcloud
2019/11/01 11:57:35 Using internal plugin for hyperone
2019/11/01 11:57:35 Using internal plugin for hyperv-vmcx
2019/11/01 11:57:35 Using internal plugin for lxc
2019/11/01 11:57:35 Using internal plugin for oracle-oci
2019/11/01 11:57:35 Using internal plugin for qemu
2019/11/01 11:57:35 Using internal plugin for virtualbox-iso
2019/11/01 11:57:35 Using internal plugin for virtualbox-vm
2019/11/01 11:57:35 Using internal plugin for yandex
2019/11/01 11:57:35 Using internal plugin for ncloud
2019/11/01 11:57:35 Using internal plugin for osc-bsusurrogate
2019/11/01 11:57:35 Using internal plugin for alicloud-ecs
2019/11/01 11:57:35 Using internal plugin for docker
2019/11/01 11:57:35 Using internal plugin for jdcloud
2019/11/01 11:57:35 Using internal plugin for osc-bsu
2019/11/01 11:57:35 Using internal plugin for triton
2019/11/01 11:57:35 Using internal plugin for amazon-ebs
2019/11/01 11:57:35 Using internal plugin for oneandone
2019/11/01 11:57:35 Using internal plugin for openstack
2019/11/01 11:57:35 Using internal plugin for profitbricks
2019/11/01 11:57:35 Using internal plugin for scaleway
2019/11/01 11:57:35 Using internal plugin for tencentcloud-cvm
2019/11/01 11:57:35 Using internal plugin for amazon-ebssurrogate
2019/11/01 11:57:35 Using internal plugin for vmware-vmx
2019/11/01 11:57:35 Using internal plugin for ucloud-uhost
2019/11/01 11:57:35 Using internal plugin for vagrant
2019/11/01 11:57:35 Using internal plugin for azure-arm
2019/11/01 11:57:35 Using internal plugin for cloudstack
2019/11/01 11:57:35 Using internal plugin for digitalocean
2019/11/01 11:57:35 Using internal plugin for hyperv-iso
2019/11/01 11:57:35 Using internal plugin for linode
2019/11/01 11:57:35 Using internal plugin for proxmox
2019/11/01 11:57:35 Using internal plugin for amazon-ebsvolume
2019/11/01 11:57:35 Using internal plugin for googlecompute
2019/11/01 11:57:35 Using internal plugin for parallels-pvm
2019/11/01 11:57:35 Using internal plugin for shell-local
2019/11/01 11:57:35 Using internal plugin for chef-solo
2019/11/01 11:57:35 Using internal plugin for powershell
2019/11/01 11:57:35 Using internal plugin for puppet-server
2019/11/01 11:57:35 Using internal plugin for file
2019/11/01 11:57:35 Using internal plugin for puppet-masterless
2019/11/01 11:57:35 Using internal plugin for sleep
2019/11/01 11:57:35 Using internal plugin for breakpoint
2019/11/01 11:57:35 Using internal plugin for chef-client
2019/11/01 11:57:35 Using internal plugin for converge
2019/11/01 11:57:35 Using internal plugin for ansible-local
2019/11/01 11:57:35 Using internal plugin for windows-restart
2019/11/01 11:57:35 Using internal plugin for windows-shell
2019/11/01 11:57:35 Using internal plugin for shell
2019/11/01 11:57:35 Using internal plugin for ansible
2019/11/01 11:57:35 Using internal plugin for inspec
2019/11/01 11:57:35 Using internal plugin for salt-masterless
2019/11/01 11:57:35 Using internal plugin for amazon-import
2019/11/01 11:57:35 Using internal plugin for artifice
2019/11/01 11:57:35 Using internal plugin for compress
2019/11/01 11:57:35 Using internal plugin for digitalocean-import
2019/11/01 11:57:35 Using internal plugin for docker-import
2019/11/01 11:57:35 Using internal plugin for docker-tag
2019/11/01 11:57:35 Using internal plugin for vagrant
2019/11/01 11:57:35 Using internal plugin for vsphere
2019/11/01 11:57:35 Using internal plugin for checksum
2019/11/01 11:57:35 Using internal plugin for docker-save
2019/11/01 11:57:35 Using internal plugin for exoscale-import
2019/11/01 11:57:35 Using internal plugin for vagrant-cloud
2019/11/01 11:57:35 Using internal plugin for docker-push
2019/11/01 11:57:35 Using internal plugin for googlecompute-export
2019/11/01 11:57:35 Using internal plugin for manifest
2019/11/01 11:57:35 Using internal plugin for vsphere-template
2019/11/01 11:57:35 Using internal plugin for alicloud-import
2019/11/01 11:57:35 Using internal plugin for googlecompute-import
2019/11/01 11:57:35 Using internal plugin for shell-local
2019/11/01 11:57:35 Detected home directory from env var: /home/sbarthelemy
2019/11/01 11:57:35 Attempting to open config file: /home/sbarthelemy/.packerconfig
2019/11/01 11:57:35 [WARN] Config file doesn't exist: /home/sbarthelemy/.packerconfig
2019/11/01 11:57:35 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[alicloud-ecs:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs amazon-chroot:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot amazon-ebs:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-ebssurrogate:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate amazon-ebsvolume:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume amazon-instance:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance azure-arm:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm cloudstack:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack digitalocean:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean docker:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker file:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file googlecompute:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute hcloud:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hcloud hyperone:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperone hyperv-iso:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso hyperv-vmcx:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx jdcloud:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-jdcloud linode:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-linode lxc:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc lxd:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd ncloud:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud null:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null oneandone:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone openstack:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack oracle-classic:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic oracle-oci:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci osc-bsu:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-osc-bsu osc-bsusurrogate:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-osc-bsusurrogate osc-bsuvolume:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-osc-bsuvolume osc-chroot:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-osc-chroot parallels-iso:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso parallels-pvm:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm profitbricks:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks proxmox:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-proxmox qemu:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu scaleway:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway tencentcloud-cvm:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-tencentcloud-cvm triton:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton ucloud-uhost:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ucloud-uhost vagrant:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vagrant virtualbox-iso:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso virtualbox-ovf:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf virtualbox-vm:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-vm vmware-iso:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso vmware-vmx:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx yandex:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-yandex] PostProcessors:map[alicloud-import:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import amazon-import:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import artifice:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice checksum:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum compress:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress digitalocean-import:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-digitalocean-import docker-import:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-push:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-save:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-tag:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag exoscale-import:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-exoscale-import googlecompute-export:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export googlecompute-import:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import manifest:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest shell-local:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vagrant:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant vagrant-cloud:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud vsphere:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere vsphere-template:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template] Provisioners:map[ansible:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible ansible-local:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local breakpoint:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-breakpoint chef-client:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client chef-solo:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo converge:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge file:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file inspec:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-inspec powershell:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server salt-masterless:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local sleep:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-sleep windows-restart:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart windows-shell:/home/sbarthelemy/.local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell]}
2019/11/01 11:57:35 Detected home directory from env var: /home/sbarthelemy
2019/11/01 11:57:35 Setting cache directory: /home/sbarthelemy/ar/2018/packer_output_vagrantfile/packer_cache
2019/11/01 11:57:35 Detected home directory from env var: /home/sbarthelemy
2019/11/01 11:57:35 Loading builder: vagrant
2019/11/01 11:57:35 Plugin could not be found. Checking same directory as executable.
2019/11/01 11:57:35 Current exe path: /home/sbarthelemy/.local/bin/packer
2019/11/01 11:57:35 Creating plugin client for path: /home/sbarthelemy/.local/bin/packer
2019/11/01 11:57:35 Starting plugin: /home/sbarthelemy/.local/bin/packer []string{"/home/sbarthelemy/.local/bin/packer", "plugin", "packer-builder-vagrant"}
2019/11/01 11:57:35 Waiting for RPC address for: /home/sbarthelemy/.local/bin/packer
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 [INFO] Packer version: 1.4.4
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Packer Target OS/Arch: linux amd64
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Built with Go Version: go1.13
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Detected home directory from env var: /home/sbarthelemy
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Attempting to open config file: /home/sbarthelemy/.packerconfig
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 [WARN] Config file doesn't exist: /home/sbarthelemy/.packerconfig
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Detected home directory from env var: /home/sbarthelemy
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Setting cache directory: /home/sbarthelemy/ar/2018/packer_output_vagrantfile/packer_cache
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 args: []string{"packer-builder-vagrant"}
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Plugin minimum port: 10000
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Plugin maximum port: 25000
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Detected home directory from env var: /home/sbarthelemy
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Plugin address: unix /tmp/packer-plugin331168246
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Waiting for connection...
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Serving a plugin connection...
2019/11/01 11:57:35 Build debug mode: false
2019/11/01 11:57:35 Force build: true
2019/11/01 11:57:35 On error:
2019/11/01 11:57:35 Preparing build: vagrant
vagrant output will be in this color.
2019/11/01 11:57:35 Waiting on builds to complete...
2019/11/01 11:57:35 Starting build run: vagrant
2019/11/01 11:57:35 Running builder: vagrant
2019/11/01 11:57:35 [INFO] (telemetry) Starting builder vagrant
2019/11/01 11:57:35 packer: 2019/11/01 11:57:35 Calling Vagrant CLI: []string{"--version"}
2019/11/01 11:57:36 packer: 2019/11/01 11:57:36 [vagrant driver] stdout: Vagrant 2.2.6
2019/11/01 11:57:36 packer: 2019/11/01 11:57:36 [vagrant driver] stderr:
==> vagrant: Creating a Vagrantfile in the build directory...
2019/11/01 11:57:36 packer: 2019/11/01 11:57:36 Created vagrantfile at /home/sbarthelemy/ar/2018/packer_output_vagrantfile/output-vagrant/Vagrantfile
==> vagrant: Adding box using vagrant box add..
2019/11/01 11:57:36 packer: 2019/11/01 11:57:36 [vagrant] Calling box add with following args hashicorp/bionic64 --provider virtualbox
2019/11/01 11:57:36 packer: 2019/11/01 11:57:36 Calling Vagrant CLI: []string{"box", "add", "hashicorp/bionic64", "--provider", "virtualbox"}
2019/11/01 11:57:59 packer: 2019/11/01 11:57:59 [vagrant driver] stdout: ==> box: Loading metadata for box 'hashicorp/bionic64'
2019/11/01 11:57:59 packer: box: URL: https://vagrantcloud.com/hashicorp/bionic64
==> vagrant: Calling Vagrant Up...
2019/11/01 11:57:59 packer: ==> box: Adding box 'hashicorp/bionic64' (v1.0.282) for provider: virtualbox
2019/11/01 11:57:59 packer: box: Downloading: https://vagrantcloud.com/hashicorp/boxes/bionic64/versions/1.0.282/providers/virtualbox.box
2019/11/01 11:57:59 packer: ==> box: Box download is resuming from prior download progress
box: Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com
==> box: Successfully added box 'hashicorp/bionic64' (v1.0.282) for 'virtualbox'!
2019/11/01 11:57:59 packer: 2019/11/01 11:57:59 [vagrant driver] stderr:
2019/11/01 11:57:59 packer: 2019/11/01 11:57:59 Calling Vagrant CLI: []string{"up", "source", "--provider=virtualbox"}
2019/11/01 11:58:37 packer: 2019/11/01 11:58:37 [vagrant driver] stdout: Bringing machine 'source' up with 'virtualbox' provider...
2019/11/01 11:58:37 packer: ==> source: Importing base box 'hashicorp/bionic64'...
==> source: Matching MAC address for NAT networking...
2019/11/01 11:58:37 packer: ==> source: Checking if box 'hashicorp/bionic64' version '1.0.282' is up to date...
2019/11/01 11:58:37 packer: ==> source: Setting the name of the VM: output-vagrant_source_1572605892915_29036
2019/11/01 11:58:37 packer: ==> source: Vagrant has detected a configuration issue which exposes a
2019/11/01 11:58:37 packer: ==> source: vulnerability with the installed version of VirtualBox. The
2019/11/01 11:58:37 packer: ==> source: current guest is configured to use an E1000 NIC type for a
2019/11/01 11:58:37 packer: ==> source: network adapter which is vulnerable in this version of VirtualBox.
2019/11/01 11:58:37 packer: ==> source: Ensure the guest is trusted to use this configuration or update
2019/11/01 11:58:37 packer: ==> source: the NIC type using one of the methods below:
2019/11/01 11:58:37 packer: ==> source:
2019/11/01 11:58:37 packer: ==> source: https://www.vagrantup.com/docs/virtualbox/configuration.html#default-nic-type
2019/11/01 11:58:37 packer: ==> source: https://www.vagrantup.com/docs/virtualbox/networking.html#virtualbox-nic-type
2019/11/01 11:58:37 packer: ==> source: Clearing any previously set network interfaces...
2019/11/01 11:58:37 packer: ==> source: Preparing network interfaces based on configuration...
2019/11/01 11:58:37 packer: source: Adapter 1: nat
2019/11/01 11:58:37 packer: ==> source: Forwarding ports...
2019/11/01 11:58:37 packer: source: 22 (guest) => 2222 (host) (adapter 1)
2019/11/01 11:58:37 packer: ==> source: Booting VM...
2019/11/01 11:58:37 packer: ==> source: Waiting for machine to boot. This may take a few minutes...
2019/11/01 11:58:37 packer: source: SSH address: 127.0.0.1:2222
2019/11/01 11:58:37 packer: source: SSH username: vagrant
2019/11/01 11:58:37 packer: source: SSH auth method: private key
2019/11/01 11:58:37 packer: source:
2019/11/01 11:58:37 packer: source: Vagrant insecure key detected. Vagrant will automatically replace
2019/11/01 11:58:37 packer: source: this with a newly generated keypair for better security.
2019/11/01 11:58:37 packer: source:
2019/11/01 11:58:37 packer: source: Inserting generated public key within guest...
2019/11/01 11:58:37 packer: source: Removing insecure key from the guest if it's present...
2019/11/01 11:58:37 packer: source: Key inserted! Disconnecting and reconnecting using new SSH key...
2019/11/01 11:58:37 packer: ==> source: Machine booted and ready!
2019/11/01 11:58:37 packer: ==> source: Checking for guest additions in VM...
2019/11/01 11:58:37 packer: source: The guest additions on this VM do not match the installed version of
2019/11/01 11:58:37 packer: source: VirtualBox! In most cases this is fine, but in rare cases it can
2019/11/01 11:58:37 packer: source: prevent things such as shared folders from working properly. If you see
2019/11/01 11:58:37 packer: source: shared folder errors, please make sure the guest additions within the
2019/11/01 11:58:37 packer: source: virtual machine match the version of VirtualBox you have installed on
2019/11/01 11:58:37 packer: source: your host and reload your VM.
2019/11/01 11:58:37 packer: source:
2019/11/01 11:58:37 packer: source: Guest Additions Version: 6.0.10
2019/11/01 11:58:37 packer: source: VirtualBox Version: 5.2
2019/11/01 11:58:37 packer: 2019/11/01 11:58:37 [vagrant driver] stderr:
2019/11/01 11:58:37 packer: 2019/11/01 11:58:37 Calling Vagrant CLI: []string{"ssh-config", "source"}
2019/11/01 11:58:39 packer: 2019/11/01 11:58:39 [vagrant driver] stdout: Host source
2019/11/01 11:58:39 packer: HostName 127.0.0.1
2019/11/01 11:58:39 packer: User vagrant
2019/11/01 11:58:39 packer: Port 2222
2019/11/01 11:58:39 packer: UserKnownHostsFile /dev/null
2019/11/01 11:58:39 packer: StrictHostKeyChecking no
2019/11/01 11:58:39 packer: PasswordAuthentication no
2019/11/01 11:58:39 packer: IdentityFile /home/sbarthelemy/ar/2018/packer_output_vagrantfile/output-vagrant/.vagrant/machines/source/virtualbox/private_key
2019/11/01 11:58:39 packer: IdentitiesOnly yes
2019/11/01 11:58:39 packer: LogLevel FATAL
2019/11/01 11:58:39 packer: 2019/11/01 11:58:39 [vagrant driver] stderr:
==> vagrant: Using ssh communicator to connect: 127.0.0.1
2019/11/01 11:58:39 packer: 2019/11/01 11:58:39 [INFO] Waiting for SSH, up to timeout: 10m0s
==> vagrant: Waiting for SSH to become available...
2019/11/01 11:58:39 packer: 2019/11/01 11:58:39 [INFO] Attempting SSH connection to 127.0.0.1:2222...
2019/11/01 11:58:39 packer: 2019/11/01 11:58:39 [DEBUG] Config to &ssh.Config{SSHConfig:(*ssh.ClientConfig)(0xc0005724e0), Connection:(func() (net.Conn, error))(0x11a8430), Pty:false, DisableAgentForwarding:false, HandshakeTimeout:0, UseSftp:false, KeepAliveInterval:0, Timeout:0, Tunnels:[]ssh.TunnelSpec(nil)}...
2019/11/01 11:58:39 packer: 2019/11/01 11:58:39 [DEBUG] reconnecting to TCP connection for SSH
2019/11/01 11:58:39 packer: 2019/11/01 11:58:39 [DEBUG] handshaking with SSH
2019/11/01 11:58:39 packer: 2019/11/01 11:58:39 [DEBUG] handshake complete!
2019/11/01 11:58:39 packer: 2019/11/01 11:58:39 [DEBUG] Opening new ssh session
2019/11/01 11:58:39 packer: 2019/11/01 11:58:39 [INFO] agent forwarding enabled
==> vagrant: Connected to SSH!
2019/11/01 11:58:39 packer: 2019/11/01 11:58:39 Running the provision hook
==> vagrant: Packaging box...
2019/11/01 11:58:39 packer: 2019/11/01 11:58:39 Calling Vagrant CLI: []string{"package", "source", "--vagrantfile", "myoutput_vagrantfile", "--output", "package.box"}
2019/11/01 11:58:41 packer: 2019/11/01 11:58:41 [vagrant driver] stdout:
2019/11/01 11:58:41 packer: 2019/11/01 11:58:41 [vagrant driver] stderr: Package include file doesn't exist: myoutput_vagrantfile
==> vagrant: Provisioning step had errors: Running the cleanup provisioner, if present...
==> vagrant: destroying Vagrant box...
2019/11/01 11:58:41 packer: 2019/11/01 11:58:41 Calling Vagrant CLI: []string{"destroy", "-f", "source"}
2019/11/01 11:58:45 packer: 2019/11/01 11:58:45 [vagrant driver] stdout: ==> source: Forcing shutdown of VM...
2019/11/01 11:58:45 packer: ==> source: Destroying VM and associated drives...
2019/11/01 11:58:45 packer: 2019/11/01 11:58:45 [vagrant driver] stderr:
==> vagrant: Deleting output directory...
2019/11/01 11:58:45 [INFO] (telemetry) ending vagrant
2019/11/01 11:58:45 machine readable: error-count []string{"1"}
==> Some builds didn't complete successfully and had errors:
2019/11/01 11:58:45 machine readable: vagrant,error []string{"Vagrant error: Package include file doesn't exist: myoutput_vagrantfile"}
==> Builds finished but no artifacts were created.
2019/11/01 11:58:45 [INFO] (telemetry) Finalizing.
Build 'vagrant' errored: Vagrant error: Package include file doesn't exist: myoutput_vagrantfile
==> Some builds didn't complete successfully and had errors:
--> vagrant: Vagrant error: Package include file doesn't exist: myoutput_vagrantfile
==> Builds finished but no artifacts were created.
2019/11/01 11:58:45 waiting for all plugin processes to complete...
2019/11/01 11:58:45 /home/sbarthelemy/.local/bin/packer: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment