diff options
author | Scott Moser <smoser@nelson> | 2010-01-12 16:40:46 -0500 |
---|---|---|
committer | Scott Moser <smoser@nelson> | 2010-01-12 16:40:46 -0500 |
commit | 56563878d00a6dc0c0853e97087ac86e5e8df666 (patch) | |
tree | 974964f26db26099b3dd9bb2c355c318cf03dad9 /ec2init/DataSource.py | |
parent | 1376ffe4de1e9cdcf5544ccecf50a18f46f7ed30 (diff) | |
download | vyos-cloud-init-56563878d00a6dc0c0853e97087ac86e5e8df666.tar.gz vyos-cloud-init-56563878d00a6dc0c0853e97087ac86e5e8df666.zip |
add swap devices if there are any found
Diffstat (limited to 'ec2init/DataSource.py')
-rw-r--r-- | ec2init/DataSource.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ec2init/DataSource.py b/ec2init/DataSource.py index 3ada110f..c761ae3e 100644 --- a/ec2init/DataSource.py +++ b/ec2init/DataSource.py @@ -20,3 +20,6 @@ class DataSource: def get_public_ssh_keys(self): return([]) + + def getswap_devs(self): + raise Exception("do not know how to generate swap list") |