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

[BUG] CumulusCommunity/cumulus-vx:5.9.0 fails to deploy on Libvirt #1781

Open
jbemmel opened this issue Jan 8, 2025 · 1 comment
Open

[BUG] CumulusCommunity/cumulus-vx:5.9.0 fails to deploy on Libvirt #1781

jbemmel opened this issue Jan 8, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@jbemmel
Copy link
Collaborator

jbemmel commented Jan 8, 2025

5.10.0 (default image) works, but 5.9.0 fails with an error:

The configured shell (config.ssh.shell) is invalid and unable
to properly execute commands. The most common cause for this is
using a shell that is unavailable on the system. Please verify
you're using the full path to the shell and that the shell is
executable by the SSH user.

Not sure which variable this is, or which binary is missing

@jbemmel jbemmel added the bug Something isn't working label Jan 8, 2025
@ipspace
Copy link
Owner

ipspace commented Jan 9, 2025

According to https://developer.hashicorp.com/vagrant/docs/vagrantfile/ssh_settings#config-ssh-shell, the default shell Vagrant tries to use is bash, so it looks like they forgot to add it to the Vagrant box.

There is no way to change that to sh within netlab, you'd have to use a custom Vagrant template. See https://blog.ipspace.net/2022/06/netsim-custom-vagrant-boxes/ for details. I don't think the template search path has changed since that blog post was written, if it did please let me know (or submit a PR against https://github.com/ipspace/blog 😎)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants