From 57ed1d5417e0ea415a55dd2619dda83abb4cbc87 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Fri, 8 Jan 2010 16:17:42 -0500 Subject: change DataSourceEc2 to use the local boto_utils --- ec2init/DataSourceEc2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ec2init') diff --git a/ec2init/DataSourceEc2.py b/ec2init/DataSourceEc2.py index 060d5146..84f2f71c 100644 --- a/ec2init/DataSourceEc2.py +++ b/ec2init/DataSourceEc2.py @@ -1,11 +1,11 @@ import DataSource import ec2init -import boto.utils import socket import urllib2 import time import cPickle +import boto_utils class DataSourceEc2(DataSource.DataSource): api_ver = '2009-04-04' @@ -37,8 +37,8 @@ class DataSourceEc2(DataSource.DataSource): try: if not self.wait_for_metadata_service(): return False - self.userdata_raw = boto.utils.get_instance_userdata(self.api_ver) - self.metadata = boto.utils.get_instance_metadata(self.api_ver) + self.userdata_raw = boto_utils.get_instance_userdata(self.api_ver) + self.metadata = boto_utils.get_instance_metadata(self.api_ver) return True except Exception as e: print e -- cgit v1.2.3