We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07ce655 commit 669893aCopy full SHA for 669893a
1 file changed
Vagrantfile
@@ -123,6 +123,11 @@ Vagrant.configure("2") do |config|
123
s.args = ["/tmp/vagrantfile-user-data", $num_instances]
124
end
125
config.vm.provision :shell, :inline => "mv /tmp/vagrantfile-user-data /var/lib/coreos-vagrant/", :privileged => true
126
+ else
127
+ config.vm.provision :shell do |s|
128
+ s.inline = "echo \"File not found: #{CLOUD_CONFIG_PATH}\" &&" +
129
+ "echo \"Run 'make discovery-url' first to create user-data.\" && exit 1"
130
+ end
131
132
133
0 commit comments