Skip to content

Vagrant public key file could be empty #258

Closed
@indigo423

Description

It could be possible the wget command runs in an error and creates an empty authorized_keys file. The exit code is 0 and doesn't stop the build process. See example below by having issues resolving the raw.githubusercontent.com address:

Provisioning with shell script: scripts/common/vagrant.sh
virtualbox-iso: --2014-08-25 10:18:06--  https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub
virtualbox-iso:   Resolving raw.githubusercontent.com... failed: Name or service not known.
virtualbox-iso: wget: unable to resolve host address "raw.githubusercontent.com"
virtualbox-iso: Provisioning with shell script: scripts/common/vmtools.sh
virtualbox-iso: Verifying archive integrity... All good.

Suggestion to solve this issue: #257

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