~smoser/cloud-init/lp-1077700

« back to all changes in this revision

Viewing changes to ec2-init.py

  • Committer: Scott Moser
  • Date: 2010-02-03 23:09:48 UTC
  • Revision ID: smoser@ubuntu.com-20100203230948-hkm26maudqkiw7xw
globally remove ec2init and rename to cloudinit

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
import subprocess
4
4
import sys
5
5
 
6
 
import ec2init
7
 
import ec2init.util as util
 
6
import cloudinit
 
7
import cloudinit.util as util
8
8
 
9
9
def warn(str):
10
10
    sys.stderr.write(str)
11
11
 
12
12
def main():
13
 
    cloud = ec2init.EC2Init()
 
13
    cloud = cloudinit.EC2Init()
14
14
 
15
15
    try:
16
16
        cloud.get_data_source()