You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When run on a Windows host, the absolute path generated in Vagrantfile from synced_folder configuration property contains only single backslash characters (\) as path separators. This is not supported because Vagrantfile is a Ruby file and backslash is an escape character in Ruby
Reproduction Steps
On a Windows host, with packer, vagrant and virtualbox installed, run packer build .\test-box.pkr.hcl (see the content of the .pkr.hcl file below)
Overview of the Issue
When run on a Windows host, the absolute path generated in
Vagrantfile
fromsynced_folder
configuration property contains only single backslash characters (\
) as path separators. This is not supported becauseVagrantfile
is a Ruby file and backslash is an escape character in RubyReproduction Steps
On a Windows host, with packer, vagrant and virtualbox installed, run
packer build .\test-box.pkr.hcl
(see the content of the.pkr.hcl
file below)Plugin and Packer version
packer: 1.8.5
vagrant plugin: 1.0.3
Simplified Packer Buildfile
Operating system and Environment details
Windows 10 host, 64 bits.
Log Fragments and crash.log files
The text was updated successfully, but these errors were encountered: