Skip to content

Commit

Permalink
Merge pull request #1028 from jordant/master
Browse files Browse the repository at this point in the history
Correcting build_hooks documentation syntax
  • Loading branch information
mpapis committed Feb 2, 2015
2 parents 8e0a61d + 48fe7b8 commit 360e48f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/build_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ But if you want to copy arbitrary files to the guest you can do this in a hook.

<pre>
Veewee::Definition.declare({
hooks => {
:hooks => {
:after_postinstall => Proc.new { definition.box.scp('/tmp/foo.txt', '/tmp/bar.txt') }
}
})
Expand Down Expand Up @@ -58,7 +58,7 @@ end
myhooks = Hooks.new(veewee_definition)

Veewee::Definition.declare({
hooks => {
:hooks => {
:after_boot_sequence => Proc.new { myhooks.after_boot_sequence },
:before_ssh => Proc.new { myhooks.before_ssh }
}
Expand Down

0 comments on commit 360e48f

Please sign in to comment.