Click On Tyler Support


Contact Us

Support Home » Hobo » Hobo Document Preamble

Hobo Document Preamble

Beginning with Hobo version 1.1.0, you can now add custom Vagrant/Ruby commands to your Hobo document's "Preamble".

When you export your Vagrantfile, the commands you add to the preamble will appear at the top of the Vagrantfile above the Vagrant configuration block. Here's an example Vagrantfile with the preamble noted...

# The commands you add to your Hobo document's Preamble will be inserted here.

Vagrant.configure("2") do |config|
    config.vm.box = "ubuntu/trusty64"
    config.vm.provision :shell, path: "bootstrap.sh"
    config.vm.network :forwarded_port, host: 8080, guest: 80
end

You can edit your document's Preamble by choosing "Edit Vagrantfile Preamble" from the "Advanced" menu.

Your vote was sent, thanks!
Was this article helpful?







Search

Contact Us