summaryrefslogtreecommitdiff
path: root/cloud-init-cfg.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-02-03 18:09:48 -0500
committerScott Moser <smoser@ubuntu.com>2010-02-03 18:09:48 -0500
commitaed1c1e9fda1e78d19305e90f554d0dcb5388cd7 (patch)
tree7f0dd15537201ea49217ba6ec3040ede9b0426f4 /cloud-init-cfg.py
parentff522791cb2b58e83da4efea1be76757f05a1f1f (diff)
downloadvyos-cloud-init-aed1c1e9fda1e78d19305e90f554d0dcb5388cd7.tar.gz
vyos-cloud-init-aed1c1e9fda1e78d19305e90f554d0dcb5388cd7.zip
globally remove ec2init and rename to cloudinit
Diffstat (limited to 'cloud-init-cfg.py')
-rwxr-xr-xcloud-init-cfg.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/cloud-init-cfg.py b/cloud-init-cfg.py
index 88216e10..9260a767 100755
--- a/cloud-init-cfg.py
+++ b/cloud-init-cfg.py
@@ -1,7 +1,7 @@
#!/usr/bin/python
import sys
-import ec2init
+import cloudinit
def Usage(out = sys.stdout):
out.write("Usage: %s name\n" % sys.argv[0])
@@ -16,15 +16,15 @@ def main():
name=sys.argv[1]
run_args=sys.argv[2:]
- import ec2init.CloudConfig
+ import cloudinit.CloudConfig
import os
- cfg_path = ec2init.cloud_config
- cfg_env_name = ec2init.cfg_env_name
+ cfg_path = cloudinit.cloud_config
+ cfg_env_name = cloudinit.cfg_env_name
if os.environ.has_key(cfg_env_name):
cfg_path = os.environ[cfg_env_name]
- cc = ec2init.CloudConfig.CloudConfig(cfg_path)
+ cc = cloudinit.CloudConfig.CloudConfig(cfg_path)
try:
cc.handle(name,run_args)