summaryrefslogtreecommitdiff
path: root/ec2init/execute.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 /ec2init/execute.py
parentff522791cb2b58e83da4efea1be76757f05a1f1f (diff)
downloadvyos-cloud-init-aed1c1e9fda1e78d19305e90f554d0dcb5388cd7.tar.gz
vyos-cloud-init-aed1c1e9fda1e78d19305e90f554d0dcb5388cd7.zip
globally remove ec2init and rename to cloudinit
Diffstat (limited to 'ec2init/execute.py')
-rw-r--r--ec2init/execute.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/ec2init/execute.py b/ec2init/execute.py
deleted file mode 100644
index 033da8f7..00000000
--- a/ec2init/execute.py
+++ /dev/null
@@ -1,13 +0,0 @@
-def run(list,cfg):
- import subprocess
- retcode = subprocess.call(list)
-
- if retcode == 0:
- return
-
- if retcode < 0:
- str="Cmd terminated by signal %s\n" % -retcode
- else:
- str="Cmd returned %s\n" % retcode
- str+=' '.join(list)
- raise Exception(str)