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

Delete unexpected end #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Delete unexpected end #45

wants to merge 1 commit into from

Conversation

kyanny
Copy link

@kyanny kyanny commented Feb 24, 2022

Hi @kenn, I found a small syntax error in the Vagrantfile example. Inner end shouldn't be there.
ref: Inline Scripts

$ cat Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/focal64"
  config.vm.provision "shell",
    inline: "sudo echo 'root:vagrant' | /usr/sbin/chpasswd"
  end
end

$ vagrant up
Vagrant failed to initialize at a very early stage:

There is a syntax error in the following Vagrantfile. The syntax error
message is reproduced below for convenience:

/Users/kyanny/workspaces/tmp-sunzi/Vagrantfile:9: syntax error, unexpected `end', expecting end-of-input

@kyanny
Copy link
Author

kyanny commented Feb 25, 2022

CI failed due to the thor version dependency. #46 fixes it. This branch needs to be rebased once #46 has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant