lib/boxgrinder-build/plugins/delivery/ebs/ebs-plugin.rb in boxgrinder-build-0.10.0 vs lib/boxgrinder-build/plugins/delivery/ebs/ebs-plugin.rb in boxgrinder-build-0.10.1
- old
+ new
@@ -30,10 +30,10 @@
ROOT_DEVICE_NAME = '/dev/sda1'
POLL_FREQ = 1 #second
TIMEOUT = 1000 #seconds
EC2_HOSTNAME_LOOKUP_TIMEOUT = 10
- plugin :type => :delivery, :name => :ebs, :full_name => "Elastic Block Storage"
+ plugin :type => :delivery, :name => :ebs, :full_name => "Elastic Block Storage", :require_root => true
def validate
@ec2_endpoints = EC2Helper::endpoints
raise PluginValidationError, "You are trying to run this plugin on an invalid platform. You can run the EBS delivery plugin only on EC2." unless valid_platform?