Hello,
I am trying to create an initial vagrant configuration with the template network_static6 and vagrant 2.2.19 under Ubuntu 20.04. The following command:
vagrant init --template /tmp/.mount_vagran2tuejA/usr/gembundle/gems/vagrant-2.2.19/templates/guests/debian/network_static6.erb
returns the error:
Traceback (most recent call last):
13: from /tmp/.mount_vagranVFd86l/usr/gembundle/bin/vagrant:23:in <main>' 12: from /tmp/.mount_vagranVFd86l/usr/gembundle/bin/vagrant:23:in
load’
11: from /tmp/.mount_vagranVFd86l/usr/gembundle/gems/vagrant-2.2.19/bin/vagrant:231:in <top (required)>' 10: from /tmp/.mount_vagranVFd86l/usr/gembundle/gems/vagrant-2.2.19/lib/vagrant/environment.rb:290:in
cli’
9: from /tmp/.mount_vagranVFd86l/usr/gembundle/gems/vagrant-2.2.19/lib/vagrant/cli.rb:67:in execute' 8: from /tmp/.mount_vagranVFd86l/usr/gembundle/gems/vagrant-2.2.19/plugins/commands/init/command.rb:80:in
execute’
7: from /tmp/.mount_vagranVFd86l/usr/gembundle/gems/vagrant-2.2.19/lib/vagrant/util/template_renderer.rb:18:in render' 6: from /tmp/.mount_vagranVFd86l/usr/gembundle/gems/vagrant-2.2.19/lib/vagrant/util/template_renderer.rb:36:in
render_with’
5: from /tmp/.mount_vagranVFd86l/usr/gembundle/gems/vagrant-2.2.19/lib/vagrant/util/template_renderer.rb:61:in render' 4: from /tmp/.mount_vagranVFd86l/usr/gembundle/gems/vagrant-2.2.19/lib/vagrant/util/template_renderer.rb:61:in
open’
3: from /tmp/.mount_vagranVFd86l/usr/gembundle/gems/vagrant-2.2.19/lib/vagrant/util/template_renderer.rb:63:in block in render' 2: from /tmp/.mount_vagranVFd86l/usr/gembundle/gems/vagrant-2.2.19/lib/vagrant/util/template_renderer.rb:76:in
render_string’
1: from /tmp/.mount_vagranVFd86l/usr/gembundle/gems/vagrant-2.2.19/lib/vagrant/util/template_renderer.rb:76:in eval' /tmp/.mount_vagranVFd86l/usr/gembundle/gems/vagrant-2.2.19/lib/vagrant/util/template_renderer.rb:78:in
render_string’: undefined method `’ for nil:NilClass (NoMethodError)
What am I missing here?
Thanks in advance,
Rudolf Fäder