mcandre/vagrant-netbsd-rust

Fix PATH

Closed this issue · 2 comments

rustup installs rustc, cargo to /home/vagrant/.cargo/bin. However, there is no easy way to add this directory to PATH in a way that works for non-interactive sh sessions such as 'sh -c '...'/ssh -c '...'`. Apparently NetBSD's /etc/login.conf, /etc/login.conf.db loading is broken.

As a workaround, we will need to install bash and configure it as the default Vagrant shell for this box.

Pending mcandre/packer-templates#128 .

Fixing in base box by ensuring that the vagrant user is added to the vagrant login class.