hashicorp / packer

Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
http://www.packer.io
Other
15.12k stars 3.33k forks source link

Error uploading VirtualBox version: elative addresses not allowed #8637

Closed boeboe closed 4 years ago

boeboe commented 4 years ago

Packer: v1.3.3 VirtualBox: 6.0.16 r135674 (Qt5.9.5) OS: Ubuntu 18.04.3 LTS

Output traces of builder: _PACKERLOG=1 packer build template-virtualbox.json

PACKER_LOG=1 packer build template-virtualbox.json
2020/01/22 02:54:14 [INFO] Packer version: 1.3.3
2020/01/22 02:54:14 Packer Target OS/Arch: linux amd64
2020/01/22 02:54:14 Built with Go Version: go1.11.2
2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 Using internal plugin for parallels-pvm
2020/01/22 02:54:14 Using internal plugin for googlecompute
2020/01/22 02:54:14 Using internal plugin for lxc
2020/01/22 02:54:14 Using internal plugin for null
2020/01/22 02:54:14 Using internal plugin for oracle-oci
2020/01/22 02:54:14 Using internal plugin for qemu
2020/01/22 02:54:14 Using internal plugin for amazon-chroot
2020/01/22 02:54:14 Using internal plugin for cloudstack
2020/01/22 02:54:14 Using internal plugin for hyperv-vmcx
2020/01/22 02:54:14 Using internal plugin for lxd
2020/01/22 02:54:14 Using internal plugin for profitbricks
2020/01/22 02:54:14 Using internal plugin for scaleway
2020/01/22 02:54:14 Using internal plugin for vmware-vmx
2020/01/22 02:54:14 Using internal plugin for amazon-ebssurrogate
2020/01/22 02:54:14 Using internal plugin for docker
2020/01/22 02:54:14 Using internal plugin for openstack
2020/01/22 02:54:14 Using internal plugin for oracle-classic
2020/01/22 02:54:14 Using internal plugin for amazon-ebsvolume
2020/01/22 02:54:14 Using internal plugin for hcloud
2020/01/22 02:54:14 Using internal plugin for parallels-iso
2020/01/22 02:54:14 Using internal plugin for triton
2020/01/22 02:54:14 Using internal plugin for virtualbox-iso
2020/01/22 02:54:14 Using internal plugin for file
2020/01/22 02:54:14 Using internal plugin for ncloud
2020/01/22 02:54:14 Using internal plugin for virtualbox-ovf
2020/01/22 02:54:14 Using internal plugin for amazon-ebs
2020/01/22 02:54:14 Using internal plugin for azure-arm
2020/01/22 02:54:14 Using internal plugin for digitalocean
2020/01/22 02:54:14 Using internal plugin for hyperv-iso
2020/01/22 02:54:14 Using internal plugin for oneandone
2020/01/22 02:54:14 Using internal plugin for vmware-iso
2020/01/22 02:54:14 Using internal plugin for alicloud-ecs
2020/01/22 02:54:14 Using internal plugin for amazon-instance
2020/01/22 02:54:14 Using internal plugin for ansible
2020/01/22 02:54:14 Using internal plugin for ansible-local
2020/01/22 02:54:14 Using internal plugin for breakpoint
2020/01/22 02:54:14 Using internal plugin for converge
2020/01/22 02:54:14 Using internal plugin for shell-local
2020/01/22 02:54:14 Using internal plugin for chef-client
2020/01/22 02:54:14 Using internal plugin for chef-solo
2020/01/22 02:54:14 Using internal plugin for salt-masterless
2020/01/22 02:54:14 Using internal plugin for shell
2020/01/22 02:54:14 Using internal plugin for file
2020/01/22 02:54:14 Using internal plugin for powershell
2020/01/22 02:54:14 Using internal plugin for puppet-masterless
2020/01/22 02:54:14 Using internal plugin for puppet-server
2020/01/22 02:54:14 Using internal plugin for windows-restart
2020/01/22 02:54:14 Using internal plugin for windows-shell
2020/01/22 02:54:14 Using internal plugin for vagrant
2020/01/22 02:54:14 Using internal plugin for vagrant-cloud
2020/01/22 02:54:14 Using internal plugin for vsphere-template
2020/01/22 02:54:14 Using internal plugin for docker-tag
2020/01/22 02:54:14 Using internal plugin for shell-local
2020/01/22 02:54:14 Using internal plugin for compress
2020/01/22 02:54:14 Using internal plugin for docker-push
2020/01/22 02:54:14 Using internal plugin for manifest
2020/01/22 02:54:14 Using internal plugin for alicloud-import
2020/01/22 02:54:14 Using internal plugin for amazon-import
2020/01/22 02:54:14 Using internal plugin for vsphere
2020/01/22 02:54:14 Using internal plugin for docker-import
2020/01/22 02:54:14 Using internal plugin for googlecompute-export
2020/01/22 02:54:14 Using internal plugin for docker-save
2020/01/22 02:54:14 Using internal plugin for googlecompute-import
2020/01/22 02:54:14 Using internal plugin for artifice
2020/01/22 02:54:14 Using internal plugin for checksum
2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 Attempting to open config file: /root/.packerconfig
2020/01/22 02:54:14 [WARN] Config file doesn't exist: /root/.packerconfig
2020/01/22 02:54:14 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[oracle-oci:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs lxc:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc hcloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hcloud parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm hyperv-vmcx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx lxd:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu scaleway:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file ncloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker oracle-classic:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton] PostProcessors:map[vsphere-template:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import googlecompute-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere] Provisioners:map[shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local breakpoint:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-breakpoint file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server]}
2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 Setting cache directory: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/packer_cache
2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 Loading builder: virtualbox-iso
2020/01/22 02:54:14 Plugin could not be found. Checking same directory as executable.
2020/01/22 02:54:14 Current exe path: /usr/local/bin/packer
2020/01/22 02:54:14 Creating plugin client for path: /usr/local/bin/packer
2020/01/22 02:54:14 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-virtualbox-iso"}
2020/01/22 02:54:14 Waiting for RPC address for: /usr/local/bin/packer
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [INFO] Packer version: 1.3.3
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer Target OS/Arch: linux amd64
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Built with Go Version: go1.11.2
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Attempting to open config file: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [WARN] Config file doesn't exist: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Setting cache directory: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/packer_cache
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 args: []string{"packer-builder-virtualbox-iso"}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin minimum port: 10000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin maximum port: 25000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin address: unix /tmp/packer-plugin788692416
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Waiting for connection...
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Serving a plugin connection...
2020/01/22 02:54:14 Loading provisioner: shell
2020/01/22 02:54:14 Plugin could not be found. Checking same directory as executable.
2020/01/22 02:54:14 Current exe path: /usr/local/bin/packer
2020/01/22 02:54:14 Creating plugin client for path: /usr/local/bin/packer
2020/01/22 02:54:14 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2020/01/22 02:54:14 Waiting for RPC address for: /usr/local/bin/packer
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [INFO] Packer version: 1.3.3
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer Target OS/Arch: linux amd64
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Built with Go Version: go1.11.2
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Attempting to open config file: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [WARN] Config file doesn't exist: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Setting cache directory: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/packer_cache
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 args: []string{"packer-provisioner-shell"}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin minimum port: 10000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin maximum port: 25000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin address: unix /tmp/packer-plugin616214081
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Waiting for connection...
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Serving a plugin connection...
2020/01/22 02:54:14 Loading provisioner: file
2020/01/22 02:54:14 Plugin could not be found. Checking same directory as executable.
2020/01/22 02:54:14 Current exe path: /usr/local/bin/packer
2020/01/22 02:54:14 Creating plugin client for path: /usr/local/bin/packer
2020/01/22 02:54:14 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-file"}
2020/01/22 02:54:14 Waiting for RPC address for: /usr/local/bin/packer
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [INFO] Packer version: 1.3.3
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer Target OS/Arch: linux amd64
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Built with Go Version: go1.11.2
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Attempting to open config file: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [WARN] Config file doesn't exist: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Setting cache directory: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/packer_cache
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 args: []string{"packer-provisioner-file"}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin minimum port: 10000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin maximum port: 25000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin address: unix /tmp/packer-plugin865280422
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Waiting for connection...
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Serving a plugin connection...
2020/01/22 02:54:14 Loading provisioner: shell
2020/01/22 02:54:14 Plugin could not be found. Checking same directory as executable.
2020/01/22 02:54:14 Current exe path: /usr/local/bin/packer
2020/01/22 02:54:14 Creating plugin client for path: /usr/local/bin/packer
2020/01/22 02:54:14 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2020/01/22 02:54:14 Waiting for RPC address for: /usr/local/bin/packer
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [INFO] Packer version: 1.3.3
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer Target OS/Arch: linux amd64
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Built with Go Version: go1.11.2
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Attempting to open config file: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [WARN] Config file doesn't exist: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Setting cache directory: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/packer_cache
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 args: []string{"packer-provisioner-shell"}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin minimum port: 10000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin maximum port: 25000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin address: unix /tmp/packer-plugin084845034
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Waiting for connection...
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Serving a plugin connection...
2020/01/22 02:54:14 Loading provisioner: shell
2020/01/22 02:54:14 Plugin could not be found. Checking same directory as executable.
2020/01/22 02:54:14 Current exe path: /usr/local/bin/packer
2020/01/22 02:54:14 Creating plugin client for path: /usr/local/bin/packer
2020/01/22 02:54:14 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2020/01/22 02:54:14 Waiting for RPC address for: /usr/local/bin/packer
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [INFO] Packer version: 1.3.3
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer Target OS/Arch: linux amd64
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Built with Go Version: go1.11.2
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Attempting to open config file: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [WARN] Config file doesn't exist: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Setting cache directory: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/packer_cache
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 args: []string{"packer-provisioner-shell"}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin minimum port: 10000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin maximum port: 25000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin address: unix /tmp/packer-plugin421597662
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Waiting for connection...
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Serving a plugin connection...
2020/01/22 02:54:14 Loading provisioner: shell
2020/01/22 02:54:14 Plugin could not be found. Checking same directory as executable.
2020/01/22 02:54:14 Current exe path: /usr/local/bin/packer
2020/01/22 02:54:14 Creating plugin client for path: /usr/local/bin/packer
2020/01/22 02:54:14 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2020/01/22 02:54:14 Waiting for RPC address for: /usr/local/bin/packer
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [INFO] Packer version: 1.3.3
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer Target OS/Arch: linux amd64
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Built with Go Version: go1.11.2
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Attempting to open config file: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [WARN] Config file doesn't exist: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Setting cache directory: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/packer_cache
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 args: []string{"packer-provisioner-shell"}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin minimum port: 10000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin maximum port: 25000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin address: unix /tmp/packer-plugin060166231
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Waiting for connection...
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Serving a plugin connection...
2020/01/22 02:54:14 Loading provisioner: shell
2020/01/22 02:54:14 Plugin could not be found. Checking same directory as executable.
2020/01/22 02:54:14 Current exe path: /usr/local/bin/packer
2020/01/22 02:54:14 Creating plugin client for path: /usr/local/bin/packer
2020/01/22 02:54:14 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2020/01/22 02:54:14 Waiting for RPC address for: /usr/local/bin/packer
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [INFO] Packer version: 1.3.3
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer Target OS/Arch: linux amd64
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Built with Go Version: go1.11.2
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Attempting to open config file: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [WARN] Config file doesn't exist: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Setting cache directory: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/packer_cache
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 args: []string{"packer-provisioner-shell"}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin minimum port: 10000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin maximum port: 25000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin address: unix /tmp/packer-plugin973526899
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Waiting for connection...
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Serving a plugin connection...
2020/01/22 02:54:14 Loading provisioner: shell
2020/01/22 02:54:14 Plugin could not be found. Checking same directory as executable.
2020/01/22 02:54:14 Current exe path: /usr/local/bin/packer
2020/01/22 02:54:14 Creating plugin client for path: /usr/local/bin/packer
2020/01/22 02:54:14 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2020/01/22 02:54:14 Waiting for RPC address for: /usr/local/bin/packer
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [INFO] Packer version: 1.3.3
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer Target OS/Arch: linux amd64
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Built with Go Version: go1.11.2
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Attempting to open config file: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [WARN] Config file doesn't exist: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Setting cache directory: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/packer_cache
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 args: []string{"packer-provisioner-shell"}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin minimum port: 10000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin maximum port: 25000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin address: unix /tmp/packer-plugin564700823
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Waiting for connection...
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Serving a plugin connection...
2020/01/22 02:54:14 Loading provisioner: shell
2020/01/22 02:54:14 Plugin could not be found. Checking same directory as executable.
2020/01/22 02:54:14 Current exe path: /usr/local/bin/packer
2020/01/22 02:54:14 Creating plugin client for path: /usr/local/bin/packer
2020/01/22 02:54:14 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2020/01/22 02:54:14 Waiting for RPC address for: /usr/local/bin/packer
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [INFO] Packer version: 1.3.3
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer Target OS/Arch: linux amd64
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Built with Go Version: go1.11.2
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Attempting to open config file: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [WARN] Config file doesn't exist: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Setting cache directory: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/packer_cache
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 args: []string{"packer-provisioner-shell"}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin minimum port: 10000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin maximum port: 25000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin address: unix /tmp/packer-plugin335159606
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Waiting for connection...
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Serving a plugin connection...
2020/01/22 02:54:14 Loading provisioner: shell
2020/01/22 02:54:14 Plugin could not be found. Checking same directory as executable.
2020/01/22 02:54:14 Current exe path: /usr/local/bin/packer
2020/01/22 02:54:14 Creating plugin client for path: /usr/local/bin/packer
2020/01/22 02:54:14 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2020/01/22 02:54:14 Waiting for RPC address for: /usr/local/bin/packer
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [INFO] Packer version: 1.3.3
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer Target OS/Arch: linux amd64
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Built with Go Version: go1.11.2
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Attempting to open config file: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [WARN] Config file doesn't exist: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Setting cache directory: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/packer_cache
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 args: []string{"packer-provisioner-shell"}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin minimum port: 10000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin maximum port: 25000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin address: unix /tmp/packer-plugin321024246
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Waiting for connection...
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Serving a plugin connection...
2020/01/22 02:54:14 Loading post-processor: vagrant
2020/01/22 02:54:14 Plugin could not be found. Checking same directory as executable.
2020/01/22 02:54:14 Current exe path: /usr/local/bin/packer
2020/01/22 02:54:14 Creating plugin client for path: /usr/local/bin/packer
2020/01/22 02:54:14 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-post-processor-vagrant"}
2020/01/22 02:54:14 Waiting for RPC address for: /usr/local/bin/packer
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [INFO] Packer version: 1.3.3
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer Target OS/Arch: linux amd64
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Built with Go Version: go1.11.2
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Attempting to open config file: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [WARN] Config file doesn't exist: /root/.packerconfig
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Setting cache directory: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/packer_cache
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Detected home directory from env var: /root
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 args: []string{"packer-post-processor-vagrant"}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin minimum port: 10000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin maximum port: 25000
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Plugin address: unix /tmp/packer-plugin074276634
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Waiting for connection...
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Serving a plugin connection...
2020/01/22 02:54:14 Build debug mode: false
2020/01/22 02:54:14 Force build: false
2020/01/22 02:54:14 On error: 
BIGIP-14.0.1.1-0.0.6 output will be in this color.
2020/01/22 02:54:14 Preparing build: BIGIP-14.0.1.1-0.0.6

2020/01/22 02:54:14 Waiting on builds to complete...
2020/01/22 02:54:14 Starting build run: BIGIP-14.0.1.1-0.0.6
2020/01/22 02:54:14 Running builder: virtualbox-iso
2020/01/22 02:54:14 [INFO] (telemetry) Starting builder virtualbox-iso
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 VBoxManage path: /usr/bin/VBoxManage
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Not downloading guest additions since it is disabled.
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Acquiring lock to download: file:///home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/software/BIGIP-14.0.1.1-0.0.6.iso
==> BIGIP-14.0.1.1-0.0.6: Retrieving ISO
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Parsed URL: &url.URL{Scheme:"file", Opaque:"", User:(*url.Userinfo)(nil), Host:"", Path:"/home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/software/BIGIP-14.0.1.1-0.0.6.iso", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""}
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 [DEBUG] Using local file: /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/software/BIGIP-14.0.1.1-0.0.6.iso
2020/01/22 02:54:14 packer: 2020/01/22 02:54:14 Verifying checksum of /home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/software/BIGIP-14.0.1.1-0.0.6.iso
    BIGIP-14.0.1.1-0.0.6: Using file in-place: file:///home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/software/BIGIP-14.0.1.1-0.0.6.iso
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 No floppy files specified. Floppy disk will not be made.
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 Suppressing annoying messages in VirtualBox
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 Executing VBoxManage: []string{"setextradata", "global", "GUI/SuppressMessages", "confirmInputCapture,remindAboutAutoCapture,remindAboutMouseIntegrationOff,remindAboutMouseIntegrationOn,remindAboutWrongColorDepth"}
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 stdout:
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 stderr:
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 Executing VBoxManage: []string{"setextradata", "global", "GUI/UpdateCheckCount", "60"}
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 stdout:
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 stderr:
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 Executing VBoxManage: []string{"setextradata", "global", "GUI/UpdateDate", "1 d, 2021-01-01, stable"}
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 stdout:
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 stderr:
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 Executing VBoxManage: []string{"setextradata", "global", "GUI/RegistrationData", "triesLeft=0"}
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 stdout:
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 stderr:
2020/01/22 02:54:28 packer: 2020/01/22 02:54:28 Executing VBoxManage: []string{"createvm", "--name", "BIGIP-14.0.1.1-0.0.6", "--ostype", "Linux_64", "--register"}
==> BIGIP-14.0.1.1-0.0.6: Creating virtual machine...
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stdout: Virtual machine 'BIGIP-14.0.1.1-0.0.6' is created and registered.
2020/01/22 02:54:29 packer: UUID: 113624dd-dde0-46e4-aed3-9f55ac1748cf
2020/01/22 02:54:29 packer: Settings file: '/root/VirtualBox VMs/BIGIP-14.0.1.1-0.0.6/BIGIP-14.0.1.1-0.0.6.vbox'
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stderr:
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 Executing VBoxManage: []string{"modifyvm", "BIGIP-14.0.1.1-0.0.6", "--boot1", "disk", "--boot2", "dvd", "--boot3", "none", "--boot4", "none"}
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stdout:
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stderr:
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 Executing VBoxManage: []string{"modifyvm", "BIGIP-14.0.1.1-0.0.6", "--cpus", "2"}
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stdout:
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stderr:
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 Executing VBoxManage: []string{"modifyvm", "BIGIP-14.0.1.1-0.0.6", "--memory", "4096"}
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stdout:
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stderr:
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 Executing VBoxManage: []string{"modifyvm", "BIGIP-14.0.1.1-0.0.6", "--usb", "off"}
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stdout:
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stderr:
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 Executing VBoxManage: []string{"modifyvm", "BIGIP-14.0.1.1-0.0.6", "--audio", "none"}
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stdout:
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stderr:
==> BIGIP-14.0.1.1-0.0.6: Creating hard drive...
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 Executing VBoxManage: []string{"createhd", "--filename", "output-BIGIP-14.0.1.1-0.0.6/BIGIP-14.0.1.1-0.0.6.vdi", "--size", "160000", "--format", "VDI", "--variant", "Standard"}
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stdout: Medium created. UUID: 99d398bf-443d-4adb-9651-7f05a7c75547
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 Executing VBoxManage: []string{"storagectl", "BIGIP-14.0.1.1-0.0.6", "--name", "IDE Controller", "--add", "ide"}
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stdout:
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 stderr:
2020/01/22 02:54:29 packer: 2020/01/22 02:54:29 Executing VBoxManage: []string{"storageattach", "BIGIP-14.0.1.1-0.0.6", "--storagectl", "IDE Controller", "--port", "0", "--device", "0", "--type", "hdd", "--medium", "output-BIGIP-14.0.1.1-0.0.6/BIGIP-14.0.1.1-0.0.6.vdi", "--nonrotational", "off", "--discard", "off"}
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stdout:
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stderr:
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 Executing VBoxManage: []string{"storageattach", "BIGIP-14.0.1.1-0.0.6", "--storagectl", "IDE Controller", "--port", "0", "--device", "1", "--type", "dvddrive", "--medium", "/home/boeboe/Git/f5/f5-packer-templates/bigip-14.0.1-x86_64-box/software/BIGIP-14.0.1.1-0.0.6.iso"}
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stdout:
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stderr:
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 Not attaching guest additions since we're uploading.
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 Looking for available port between 5900 and 6000 on 127.0.0.1
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 Trying port: 5993
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 Executing VBoxManage: []string{"modifyvm", "BIGIP-14.0.1.1-0.0.6", "--vrdeaddress", "127.0.0.1", "--vrdeauthtype", "null", "--vrde", "on", "--vrdeport", "5993"}
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stdout:
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stderr:
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 No floppy disk, not attaching.
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 Looking for available communicator (SSH, WinRM, etc) port between 2222 and 4444
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 Trying port: 3094
==> BIGIP-14.0.1.1-0.0.6: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 3094)
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 Executing VBoxManage: []string{"modifyvm", "BIGIP-14.0.1.1-0.0.6", "--natpf1", "packercomm,tcp,127.0.0.1,3094,,22"}
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stdout:
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stderr:
==> BIGIP-14.0.1.1-0.0.6: Executing custom VBoxManage commands...
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 Executing VBoxManage: []string{"modifyvm", "BIGIP-14.0.1.1-0.0.6", "--memory", "4096"}
    BIGIP-14.0.1.1-0.0.6: Executing: modifyvm BIGIP-14.0.1.1-0.0.6 --memory 4096
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stdout:
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stderr:
    BIGIP-14.0.1.1-0.0.6: Executing: modifyvm BIGIP-14.0.1.1-0.0.6 --cpus 2
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 Executing VBoxManage: []string{"modifyvm", "BIGIP-14.0.1.1-0.0.6", "--cpus", "2"}
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stdout:
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stderr:
    BIGIP-14.0.1.1-0.0.6: Executing: modifyvm BIGIP-14.0.1.1-0.0.6 --nic1 NAT
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 Executing VBoxManage: []string{"modifyvm", "BIGIP-14.0.1.1-0.0.6", "--nic1", "NAT"}
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stdout:
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 stderr:
2020/01/22 02:54:30 packer: 2020/01/22 02:54:30 Executing VBoxManage: []string{"modifyvm", "BIGIP-14.0.1.1-0.0.6", "--boot1", "disk"}
    BIGIP-14.0.1.1-0.0.6: Executing: modifyvm BIGIP-14.0.1.1-0.0.6 --boot1 disk
2020/01/22 02:54:31 packer: 2020/01/22 02:54:31 stdout:
2020/01/22 02:54:31 packer: 2020/01/22 02:54:31 stderr:
==> BIGIP-14.0.1.1-0.0.6: Starting the virtual machine...
2020/01/22 02:54:31 packer: 2020/01/22 02:54:31 Executing VBoxManage: []string{"startvm", "BIGIP-14.0.1.1-0.0.6", "--type", "gui"}
2020/01/22 02:54:33 packer: 2020/01/22 02:54:33 stdout: Waiting for VM "BIGIP-14.0.1.1-0.0.6" to power on...
2020/01/22 02:54:33 packer: VM "BIGIP-14.0.1.1-0.0.6" has been successfully started.
2020/01/22 02:54:33 packer: 2020/01/22 02:54:33 stderr:
==> BIGIP-14.0.1.1-0.0.6: Waiting 1m0s for boot...
==> BIGIP-14.0.1.1-0.0.6: Typing the boot command...
2020/01/22 02:55:33 packer: 2020/01/22 02:55:33 Special code 'Press' '<enter>' found, replacing with: &{[1c] [9c]}
2020/01/22 02:55:33 packer: 2020/01/22 02:55:33 Executing VBoxManage: []string{"controlvm", "BIGIP-14.0.1.1-0.0.6", "keyboardputscancode", "1c", "9c"}
2020/01/22 02:55:33 packer: 2020/01/22 02:55:33 stdout:
2020/01/22 02:55:33 packer: 2020/01/22 02:55:33 stderr:
2020/01/22 02:55:33 packer: 2020/01/22 02:55:33 [INFO] Waiting 5s
2020/01/22 02:55:38 packer: 2020/01/22 02:55:38 Special code 'Press' '<enter>' found, replacing with: &{[1c] [9c]}
2020/01/22 02:55:38 packer: 2020/01/22 02:55:38 Executing VBoxManage: []string{"controlvm", "BIGIP-14.0.1.1-0.0.6", "keyboardputscancode", "1c", "9c"}
2020/01/22 02:55:38 packer: 2020/01/22 02:55:38 stdout:
2020/01/22 02:55:38 packer: 2020/01/22 02:55:38 stderr:
2020/01/22 02:55:38 packer: 2020/01/22 02:55:38 [INFO] Waiting 5s
2020/01/22 02:55:43 packer: 2020/01/22 02:55:43 Special code 'Press' '<enter>' found, replacing with: &{[1c] [9c]}
2020/01/22 02:55:43 packer: 2020/01/22 02:55:43 Executing VBoxManage: []string{"controlvm", "BIGIP-14.0.1.1-0.0.6", "keyboardputscancode", "1c", "9c"}
2020/01/22 02:55:43 packer: 2020/01/22 02:55:43 stdout:
2020/01/22 02:55:43 packer: 2020/01/22 02:55:43 stderr:
==> BIGIP-14.0.1.1-0.0.6: Using ssh communicator to connect: 127.0.0.1
2020/01/22 02:55:43 packer: 2020/01/22 02:55:43 [INFO] Waiting for SSH, up to timeout: 8h20m0s
==> BIGIP-14.0.1.1-0.0.6: Waiting for SSH to become available...
2020/01/22 02:55:43 packer: 2020/01/22 02:55:43 [INFO] Attempting SSH connection...
2020/01/22 02:55:43 packer: 2020/01/22 02:55:43 [DEBUG] reconnecting to TCP connection for SSH
...
...
...
2020/01/22 06:01:06 packer: 2020/01/22 06:01:06 [INFO] Attempting SSH connection...
2020/01/22 06:01:06 packer: 2020/01/22 06:01:06 [DEBUG] reconnecting to TCP connection for SSH
2020/01/22 06:01:06 packer: 2020/01/22 06:01:06 [DEBUG] handshaking with SSH
2020/01/22 06:02:06 packer: 2020/01/22 06:02:06 [DEBUG] SSH handshake err: Timeout during SSH handshake
2020/01/22 06:02:13 packer: 2020/01/22 06:02:13 [INFO] Attempting SSH connection...
2020/01/22 06:02:13 packer: 2020/01/22 06:02:13 [DEBUG] reconnecting to TCP connection for SSH
2020/01/22 06:02:13 packer: 2020/01/22 06:02:13 [DEBUG] handshaking with SSH
2020/01/22 06:02:56 packer: 2020/01/22 06:02:56 Keyboard interactive challenge:
2020/01/22 06:02:56 packer: 2020/01/22 06:02:56 -- User:
2020/01/22 06:02:56 packer: 2020/01/22 06:02:56 -- Instructions:
2020/01/22 06:02:56 packer: 2020/01/22 06:02:56 -- Question 1: Password:
2020/01/22 06:02:58 packer: 2020/01/22 06:02:58 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [keyboard-interactive none], no supported methods remain
2020/01/22 06:02:58 packer: 2020/01/22 06:02:58 [DEBUG] Detected authentication error. Increasing handshake attempts.
2020/01/22 06:03:05 packer: 2020/01/22 06:03:05 [INFO] Attempting SSH connection...
2020/01/22 06:03:05 packer: 2020/01/22 06:03:05 [DEBUG] reconnecting to TCP connection for SSH
2020/01/22 06:03:05 packer: 2020/01/22 06:03:05 [DEBUG] handshaking with SSH
2020/01/22 06:03:08 packer: 2020/01/22 06:03:08 Keyboard interactive challenge:
2020/01/22 06:03:08 packer: 2020/01/22 06:03:08 -- User:
2020/01/22 06:03:08 packer: 2020/01/22 06:03:08 -- Instructions:
2020/01/22 06:03:08 packer: 2020/01/22 06:03:08 -- Question 1: Password:
2020/01/22 06:03:10 packer: 2020/01/22 06:03:10 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none keyboard-interactive], no supported methods remain
2020/01/22 06:03:10 packer: 2020/01/22 06:03:10 [DEBUG] Detected authentication error. Increasing handshake attempts.
2020/01/22 06:03:17 packer: 2020/01/22 06:03:17 [INFO] Attempting SSH connection...
2020/01/22 06:03:17 packer: 2020/01/22 06:03:17 [DEBUG] reconnecting to TCP connection for SSH
2020/01/22 06:03:17 packer: 2020/01/22 06:03:17 [DEBUG] handshaking with SSH
2020/01/22 06:03:18 packer: 2020/01/22 06:03:18 Keyboard interactive challenge:
2020/01/22 06:03:18 packer: 2020/01/22 06:03:18 -- User:
2020/01/22 06:03:18 packer: 2020/01/22 06:03:18 -- Instructions:
2020/01/22 06:03:18 packer: 2020/01/22 06:03:18 -- Question 1: Password:
2020/01/22 06:03:21 packer: 2020/01/22 06:03:21 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none keyboard-interactive], no supported methods remain
2020/01/22 06:03:21 packer: 2020/01/22 06:03:21 [DEBUG] Detected authentication error. Increasing handshake attempts.
2020/01/22 06:03:28 packer: 2020/01/22 06:03:28 [INFO] Attempting SSH connection...
2020/01/22 06:03:28 packer: 2020/01/22 06:03:28 [DEBUG] reconnecting to TCP connection for SSH
2020/01/22 06:03:28 packer: 2020/01/22 06:03:28 [DEBUG] handshaking with SSH
2020/01/22 06:03:29 packer: 2020/01/22 06:03:29 Keyboard interactive challenge:
2020/01/22 06:03:29 packer: 2020/01/22 06:03:29 -- User:
2020/01/22 06:03:29 packer: 2020/01/22 06:03:29 -- Instructions:
2020/01/22 06:03:29 packer: 2020/01/22 06:03:29 -- Question 1: Password:
2020/01/22 06:03:32 packer: 2020/01/22 06:03:32 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none keyboard-interactive], no supported methods remain
2020/01/22 06:03:32 packer: 2020/01/22 06:03:32 [DEBUG] Detected authentication error. Increasing handshake attempts.
2020/01/22 06:03:39 packer: 2020/01/22 06:03:39 [INFO] Attempting SSH connection...
2020/01/22 06:03:39 packer: 2020/01/22 06:03:39 [DEBUG] reconnecting to TCP connection for SSH
2020/01/22 06:03:39 packer: 2020/01/22 06:03:39 [DEBUG] handshaking with SSH
2020/01/22 06:03:40 packer: 2020/01/22 06:03:40 Keyboard interactive challenge:
2020/01/22 06:03:40 packer: 2020/01/22 06:03:40 -- User:
2020/01/22 06:03:40 packer: 2020/01/22 06:03:40 -- Instructions:
2020/01/22 06:03:40 packer: 2020/01/22 06:03:40 -- Question 1: Password:
2020/01/22 06:03:42 packer: 2020/01/22 06:03:42 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none keyboard-interactive], no supported methods remain
2020/01/22 06:03:42 packer: 2020/01/22 06:03:42 [DEBUG] Detected authentication error. Increasing handshake attempts.
2020/01/22 06:03:49 packer: 2020/01/22 06:03:49 [INFO] Attempting SSH connection...
2020/01/22 06:03:49 packer: 2020/01/22 06:03:49 [DEBUG] reconnecting to TCP connection for SSH
2020/01/22 06:03:49 packer: 2020/01/22 06:03:49 [DEBUG] handshaking with SSH
2020/01/22 06:03:49 packer: 2020/01/22 06:03:49 Keyboard interactive challenge:
2020/01/22 06:03:49 packer: 2020/01/22 06:03:49 -- User:
2020/01/22 06:03:49 packer: 2020/01/22 06:03:49 -- Instructions:
2020/01/22 06:03:49 packer: 2020/01/22 06:03:49 -- Question 1: Password:
2020/01/22 06:03:50 packer: 2020/01/22 06:03:50 Keyboard interactive challenge:
2020/01/22 06:03:50 packer: 2020/01/22 06:03:50 -- User:
2020/01/22 06:03:50 packer: 2020/01/22 06:03:50 -- Instructions:
2020/01/22 06:03:50 packer: 2020/01/22 06:03:50 [DEBUG] handshake complete!
2020/01/22 06:03:50 packer: 2020/01/22 06:03:50 [INFO] no local agent socket, will not connect agent
==> BIGIP-14.0.1.1-0.0.6: Connected to SSH!
2020/01/22 06:03:50 packer: 2020/01/22 06:03:50 VBoxManage --version output: 6.0.16r135674
2020/01/22 06:03:50 packer: 2020/01/22 06:03:50 VirtualBox version: 6.0.16
==> BIGIP-14.0.1.1-0.0.6: Uploading VirtualBox version info (6.0.16)
2020/01/22 06:03:50 packer: 2020/01/22 06:03:50 [DEBUG] Opening new ssh session
2020/01/22 06:03:50 packer: 2020/01/22 06:03:50 [DEBUG] Starting remote scp process:  scp -vt .
2020/01/22 06:03:51 packer: 2020/01/22 06:03:51 [DEBUG] Started SCP session, beginning transfers...
2020/01/22 06:03:51 packer: 2020/01/22 06:03:51 [DEBUG] Copying input data into temporary file so we can read the length
2020/01/22 06:03:51 packer: 2020/01/22 06:03:51 [DEBUG] scp: Uploading .vbox_version: perms=C0644 size=6
2020/01/22 06:03:52 packer: 2020/01/22 06:03:52 Executing VBoxManage: []string{"controlvm", "BIGIP-14.0.1.1-0.0.6", "poweroff"}
2020/01/22 06:03:53 packer: 2020/01/22 06:03:53 stdout:
2020/01/22 06:03:53 packer: 2020/01/22 06:03:53 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
2020/01/22 06:03:53 packer: 2020/01/22 06:03:53 Executing VBoxManage: []string{"storageattach", "BIGIP-14.0.1.1-0.0.6", "--storagectl", "IDE Controller", "--port", "0", "--device", "1", "--medium", "none"}
2020/01/22 06:03:53 packer: 2020/01/22 06:03:53 stdout:
2020/01/22 06:03:53 packer: 2020/01/22 06:03:53 stderr:
==> BIGIP-14.0.1.1-0.0.6: Deregistering and deleting VM...
2020/01/22 06:03:53 packer: 2020/01/22 06:03:53 Executing VBoxManage: []string{"unregistervm", "BIGIP-14.0.1.1-0.0.6", "--delete"}
2020/01/22 06:03:54 packer: 2020/01/22 06:03:54 stdout:
2020/01/22 06:03:54 packer: 2020/01/22 06:03:54 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
==> BIGIP-14.0.1.1-0.0.6: Deleting output directory...
2020/01/22 06:03:54 [INFO] (telemetry) ending virtualbox-iso
2020/01/22 06:03:54 ui error: Build 'BIGIP-14.0.1.1-0.0.6' errored: Error uploading VirtualBox version: elative addresses not allowed
2020/01/22 06:03:54 Builds completed. Waiting on interrupt barrier...
2020/01/22 06:03:54 machine readable: error-count []string{"1"}
2020/01/22 06:03:54 ui error: 
==> Some builds didn't complete successfully and had errors:
2020/01/22 06:03:54 machine readable: BIGIP-14.0.1.1-0.0.6,error []string{"Error uploading VirtualBox version: elative addresses not allowed"}
2020/01/22 06:03:54 ui error: --> BIGIP-14.0.1.1-0.0.6: Error uploading VirtualBox version: elative addresses not allowed
==> Builds finished but no artifacts were created.
2020/01/22 06:03:54 [INFO] (telemetry) Finalizing.
Build 'BIGIP-14.0.1.1-0.0.6' errored: Error uploading VirtualBox version: elative addresses not allowed

==> Some builds didn't complete successfully and had errors:
--> BIGIP-14.0.1.1-0.0.6: Error uploading VirtualBox version: elative addresses not allowed

==> Builds finished but no artifacts were created.
2020/01/22 06:03:56 waiting for all plugin processes to complete...
2020/01/22 06:03:56 /usr/local/bin/packer: plugin process exited
2020/01/22 06:03:56 /usr/local/bin/packer: plugin process exited
2020/01/22 06:03:56 /usr/local/bin/packer: plugin process exited
2020/01/22 06:03:56 /usr/local/bin/packer: plugin process exited
2020/01/22 06:03:56 /usr/local/bin/packer: plugin process exited
2020/01/22 06:03:56 /usr/local/bin/packer: plugin process exited
2020/01/22 06:03:56 /usr/local/bin/packer: plugin process exited
2020/01/22 06:03:56 /usr/local/bin/packer: plugin process exited
2020/01/22 06:03:56 /usr/local/bin/packer: plugin process exited
2020/01/22 06:03:56 /usr/local/bin/packer: plugin process exited
2020/01/22 06:03:56 /usr/local/bin/packer: plugin process exited

Packer file:

{
  "variables": {
    "F5_NAME": "BIGIP-14.0.1.1-0.0.6"
  },
  "builders": [
    {
      "name": "{{ user `F5_NAME` }}",
      "type": "virtualbox-iso",
      "format": "ovf",
      "iso_url": "software/{{ user `F5_NAME` }}.iso",
      "iso_checksum": "22d5006514eca72c51e9abe1f8f50449",
      "iso_checksum_type": "md5",
      "ssh_username": "root",
      "ssh_password": "vagrant",
      "ssh_timeout": "30000s",
      "ssh_handshake_attempts": "1000",
      "ssh_keep_alive_interval": "10s",
      "headless": "false",
      "shutdown_command": "shutdown -h now",
      "guest_additions_mode": "disable",
      "guest_os_type": "Linux_64",
      "vm_name": "{{ user `F5_NAME` }}",
      "boot_wait": "60s",
      "boot_command": [
        "<enter><wait5>",
        "<enter><wait5>",
        "<enter>"
      ],
      "cpus":  "2",
      "disk_size": "160000",
      "memory": "4096",
      "vboxmanage": [
        ["modifyvm","{{.Name}}","--memory","4096"],
        ["modifyvm","{{.Name}}","--cpus","2"],
        ["modifyvm","{{.Name}}","--nic1","NAT"],
        ["modifyvm","{{.Name}}","--boot1","disk"]
      ]
    }
  ],
  "post-processors": [
    {
      "type": "vagrant",
      "compression_level": 9,
      "output": "{{ build_name }}-virtualbox.box"
    }
  ],
  "provisioners": [
    {
      "type": "shell",
      "inline": [
        "mkdir /shared/vagrant",
        "exit 0"
      ],
      "pause_before": "60s"
    },
    {
      "type": "file",
      "source": "files",
      "destination": "/shared/vagrant"
    },
    {
      "type": "shell",
      "scripts": [
        "scripts/filesystem-rw.sh",
        "scripts/sudo.sh"
      ]
    },
    {
      "type": "shell",
      "inline": [
        "tmsh modify /sys db users.strictpasswords value disable",
        "exit 0"
      ]
    },
    {
      "type": "shell",
      "inline": [
        "tmsh save /sys config",
        "exit 0"
      ]
    },
    {
      "type": "shell",
      "inline": [
        "tmsh create auth user vagrant password vagrant partition-access add { all-partitions { role admin } } shell bash",
        "exit 0"
      ]
    },
    {
      "type": "shell",
      "scripts": [
        "scripts/vagrant.sh"
      ]
    },
    {
      "type": "shell",
      "inline": [
        "tmsh save /sys config",
        "exit 0"
      ]
    },
    {
      "type": "shell",
      "scripts": [
        "scripts/cleanup.sh",
        "scripts/wait-for-bigip.sh"
      ],
      "start_retry_timeout": "30m",
      "pause_before": "120s"
    }
  ]
}

ISO image available here. You will need to login with root/default, change pw to something none trivial and then finally change root pwd to vagrant to bypass the pw restrictions and allow packer to login as root/vagrant. Warning, the while installation process takes quite some time. This double PW change is not automated and needs to be done manually, while packer is retrying to connect over ssh.

Note: the same works well for builder type Qemu, so it is a specific VirtualBox builder issue.

SwampDragons commented 4 years ago

I bet that log message is being truncated and it's supposed to read "relative addresses not allowed" . Is this still an issue with the most recent version of Packer?

boeboe commented 4 years ago

@SwampDragons will test with latest version on ubuntu as well. I had a similar issue with the latest version on macos, but wasn't sure it was the same issue based on the error logs.

boeboe commented 4 years ago

Same issue on latest packer on ubuntu.

nywilken commented 4 years ago

Hi @boeboe thanks for the instructions on the ISO installation; it takes a long for sure. I'm still working on reproducing locally, but while waiting I did mange to find an issue reported on the F5 forums which may be relevant here https://cdn.f5.com/product/bugtracker/ID819429.html (originally posted here).

The virtualbox builder will try to upload a version box file into the home directory of the connecting user, which in this case happens to be /root. If the bug above is still an issue for BIGIP-14.0.1.1-0.0.6 it can explain the error we are seeing here.

With that said, if you try adding the virtualbox_version_file configuration option and setting it to a path like /var/tmp/.vbox_version do you receive this error?

If the file is not needed you can also set virtualbox_version_file to an empty string to prevent the builder from uploading this file entirely. See virtualbox_version_file for more info.

nywilken commented 4 years ago

Hi @boeboe I had a chance to repro this issue and verify that setting virtualbox_version_file to either an empty string or /var/tmp/.vbox_version results in a successful build; confirming that the guest OS allows for the copying of files into certain directories.

I’m going to close this issue since it’s not an issue with Packer, and look to see if there is room for updating the error message to point users to the virtualbox version file documentation.

If you end up needing more help with this kind of initial configuration, the mailing list or community forum are generally more useful. Issues opened here on the Packer issue tracker are only viewed by a small handful of developers who work on the tool, and we don't always have the most depth or experience when it comes to custom issues with particular build configurations.

Cheers!

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.