Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong path for VBoxGuestAdditions (virtualbox-ovf) at Windows #5827

Closed
cht47 opened this issue Jan 30, 2018 · 2 comments
Closed

wrong path for VBoxGuestAdditions (virtualbox-ovf) at Windows #5827

cht47 opened this issue Jan 30, 2018 · 2 comments

Comments

@cht47
Copy link

cht47 commented Jan 30, 2018

packer version: 1.1.3

Windows 10 Pro 1709 - German Language

Log:
https://gist.github.com/cht47/12fde15f81073e10de468da554b66356

template.json:
{ "builders": [ { "type": "virtualbox-ovf", "source_path": "ubuntu1604.ovf", "ssh_username": "vagrant", "ssh_password": "vagrant", "shutdown_command": "echo 'packer' | sudo -S shutdown -P now" } ] }

Building fails because packer try's to open file://C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso

You can't access program files with C:/Program%20Files/ on Windows.
only file://C:/Program Files/Oracle/VirtualBox/VBoxGuestAdditions.iso works.

virtualbox-ovf: Downloading or copying Guest additions virtualbox-ovf: Downloading or copying: file://C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso virtualbox-ovf: Error downloading: CreateFile /Program Files/Oracle/VirtualBox/VBoxGuestAdditions.iso: Das System kann den angegebenen Pfad nicht finden.

@SwampDragons
Copy link
Contributor

This should already be fixed -- see #5761 for context and for a binary Packer that includes the fix.

@ghost
Copy link

ghost commented Apr 2, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants