bootstrap-vz/ec2/host.py

17 lines
349 B
Python
Raw Normal View History

2013-05-02 19:13:35 +02:00
from common import Task
class GetInfo(Task):
def run(self, info):
super(GetInfo, self).run(info)
import urllib2
import json
# response = urllib2.urlopen('http://169.254.169.254/latest/dynamic/instance-identity/document')
# info.host = json.load(response.read())
return info
class InstallPackages(Task):
def run(self, info):
pass