lib/testlab/provisioners/shell.rb in testlab-0.6.5 vs lib/testlab/provisioners/shell.rb in testlab-0.6.6
- old
+ new
@@ -22,10 +22,10 @@
# and proceeds to execute said script as root via *lxc-attach*.
#
# @param [TestLab::Container] container The container which we want to
# provision.
# @return [Boolean] True if successful.
- def setup(container)
+ def on_container_setup(container)
if !@config[:script].nil?
container.bootstrap(@config[:script])
end
true