summaryrefslogtreecommitdiff
path: root/ec2-init.py
diff options
context:
space:
mode:
Diffstat (limited to 'ec2-init.py')
-rwxr-xr-xec2-init.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/ec2-init.py b/ec2-init.py
index 7597e9c6..06662f7b 100755
--- a/ec2-init.py
+++ b/ec2-init.py
@@ -41,16 +41,6 @@ def main():
except:
warn("failed to set defaults\n")
- # enable swap
- try:
- cloud.sem_and_run("enable_swap", "once-per-instance",
- cloud.enable_swap,[],False)
- except:
- import traceback
- traceback.print_exc(file=sys.stderr)
- warn("enabling swap failed!\n")
-
-
# finish, send the cloud-config event
cloud.initctl_emit()