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

Provision directory with self recursive symbolic link throws exception #11550

Open
krystian-wojtas opened this issue Apr 25, 2020 · 0 comments
Open

Comments

@krystian-wojtas
Copy link

Vagrant version

% vagrant --version
Vagrant 2.2.7

Host operating system

% lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic

Guest operating system

vagrant@ubuntu-eoan:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.10
DISTRIB_CODENAME=eoan
DISTRIB_DESCRIPTION="Ubuntu 19.10"

Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/eoan64"
  config.vm.provision "file", source: "keys/", destination: "/home/vagrant/"
end

Debug output

https://gist.github.com/krystian-wojtas/f9f7e20b95c0aaf652b8de7f0418e5f4

Expected behavior

Maybe it should at least print some nice error message?

Actual behavior

Throws exception.

Steps to reproduce

  1. mkdir keys
  2. ln -s self-recursive-symbolic-link keys/self-recursive-symbolic-link
  3. vagrant up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants