-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Description
Hi Team, I am getting the following error while building the box with packer.
$ packer build -only=virtualbox-iso application-server.json
virtualbox-iso output will be in this color.
==> virtualbox-iso: Retrieving Guest additions
==> virtualbox-iso: Trying C:\Program Files\Oracle\VirtualBox/VBoxGuestAdditions.iso
==> virtualbox-iso: Trying file://C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso
==> virtualbox-iso: file://C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso => C:\Users\707021\devops\packer-templates\packer_cache\afa7695602909b267b26b23c8aefe12db6ee78b2.iso
==> virtualbox-iso: Retrieving ISO
==> virtualbox-iso: Trying http://releases.ubuntu.com/trusty/ubuntu-14.04.6-server-amd64.iso
==> virtualbox-iso: Trying http://releases.ubuntu.com/trusty/ubuntu-14.04.6-server-amd64.iso?checksum=sha256%3Ab17d7c1e9d0321ad5810ba77b69aef43f0f29a5422b08120e6ee0576c4527c0e
==> virtualbox-iso: Download failed Get http://releases.ubuntu.com/trusty/ubuntu-14.04.6-server-amd64.iso: dial tcp 91.189.88.148:80: connectex: No connection could be made because the target machine actively refused it.
==> virtualbox-iso: error downloading ISO: [Get http://releases.ubuntu.com/trusty/ubuntu-14.04.6-server-amd64.iso: dial tcp 91.189.88.148:80: connectex: No connection could be made because the target machine actively refused it.]
Build 'virtualbox-iso' errored: error downloading ISO: [Get http://releases.ubuntu.com/trusty/ubuntu-14.04.6-server-amd64.iso: dial tcp 91.189.88.148:80: connectex: No connection could be made because the target machine actively refused it.]
==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: error downloading ISO: [Get http://releases.ubuntu.com/trusty/ubuntu-14.04.6-server-amd64.iso: dial tcp 91.189.88.148:80: connectex: No connection could be made because the target machine actively refused it.]
==> Builds finished but no artifacts were created.
Alternatively, I was bale to download the iso file manually and have it on my local machine. Can i enable packer to refer the ISO file directly for its build?
Metadata
Metadata
Assignees
Labels
No labels