lib/testlab/container/lxc.rb in testlab-0.9.1 vs lib/testlab/container/lxc.rb in testlab-1.0.0
- old
+ new
@@ -15,12 +15,12 @@
# after which time the exception will be thrown and execution halted.
#
# @param [String] content The content to render on the container and
# execute. This is generally a bash script of some sort for example.
# @return [String] The output of *lxc-attach*.
- def bootstrap(content)
+ def bootstrap(content, options={})
if self.lxc_clone.exists?
- self.ssh.bootstrap(content)
+ self.ssh.bootstrap(content, options)
else
self.lxc.bootstrap(content)
end
end