Skip to content

Instantly share code, notes, and snippets.

@briancain
Created October 12, 2018 17:13
Show Gist options
  • Save briancain/08be99928ecf311aa25b963b34d5464f to your computer and use it in GitHub Desktop.
Save briancain/08be99928ecf311aa25b963b34d5464f to your computer and use it in GitHub Desktop.
config.vm.define "bork" do |b|
b.vm.box = "bento/ubuntu-18.04"
b.vm.hostname = "bento-debian"
b.trigger.after :up do |t|
host = b.vm.hostname
t.run = {inline: "echo '#{host}'"}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment