Skip to content

Unable to download ISO file  #87

@ashislamba123

Description

@ashislamba123

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions