lib/testlab/container.rb in testlab-0.1.0 vs lib/testlab/container.rb in testlab-0.2.0
- old
+ new
@@ -27,19 +27,22 @@
include TestLab::Container::MethodMissing
include TestLab::Container::Status
extend TestLab::Container::ClassMethods
+ include TestLab::Utility::Misc
+
# Associations and Attributes
belongs_to :node, :class_name => 'TestLab::Node'
attribute :provisioner
attribute :config
attribute :domain
attribute :user
+ attribute :passwd
attribute :keys
attribute :interfaces
attribute :distro
@@ -51,10 +54,10 @@
def initialize(*args)
super(*args)
@ui = TestLab.ui
- @provisioner = self.provisioner.new(self.config) if !self.provisioner.nil?
+ @provisioner = self.provisioner.new(self.config, @ui) if !self.provisioner.nil?
end
end
end