lib/testlab/container.rb in testlab-0.3.1 vs lib/testlab/container.rb in testlab-0.4.0
- old
+ new
@@ -85,19 +85,19 @@
# Associations and Attributes
belongs_to :node, :class_name => 'TestLab::Node'
has_many :interfaces, :class_name => 'TestLab::Interface'
attribute :provisioner
- attribute :config
+ attribute :config, :default => Hash.new
attribute :domain
- attribute :user
- attribute :passwd
+ attribute :user, :default => 'ubuntu'
+ attribute :passwd, :default => 'ubuntu'
attribute :keys
- attribute :distro
- attribute :release
+ attribute :distro, :default => 'ubuntu'
+ attribute :release, :default => 'precise'
attribute :arch
attribute :persist