Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (8 sloc) 296 Bytes
#!/usr/bin/ruby
require 'ec2boot'
config = EC2Boot::Config.new
ud = EC2Boot::UserData.new(config)
md = EC2Boot::MetaData.new(config)
EC2Boot::Util.write_facts(ud, md, config)
config.actions.run_actions(ud, md, config)
EC2Boot::Util.update_motd(ud, md, config) if ud.fetched? && md.fetched?
Something went wrong with that request. Please try again.