summaryrefslogtreecommitdiff
path: root/cloud-init-query.py
diff options
context:
space:
mode:
authorMike Milner <mike.milner@canonical.com>2012-01-17 13:39:37 -0400
committerMike Milner <mike.milner@canonical.com>2012-01-17 13:39:37 -0400
commit69d6195ec6a37dc7a8f045fc262c74d01624eb56 (patch)
tree303ed83b05fdac41604ff3ad7c83c8c8046462eb /cloud-init-query.py
parentf52ffe2dda01dd0314523fcac559e6f3fbb3578e (diff)
parent1d00c0936bfc63117493d89268da8c81611b3c40 (diff)
downloadvyos-cloud-init-69d6195ec6a37dc7a8f045fc262c74d01624eb56.tar.gz
vyos-cloud-init-69d6195ec6a37dc7a8f045fc262c74d01624eb56.zip
Merge from trunk.
Diffstat (limited to 'cloud-init-query.py')
-rwxr-xr-xcloud-init-query.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/cloud-init-query.py b/cloud-init-query.py
index 3e8c24ab..cfe9b429 100755
--- a/cloud-init-query.py
+++ b/cloud-init-query.py
@@ -20,9 +20,6 @@
import sys
import cloudinit
import cloudinit.CloudConfig
-import logging
-import os
-import traceback
def Usage(out = sys.stdout):
out.write("Usage: %s name\n" % sys.argv[0])
@@ -34,7 +31,6 @@ def main():
sys.exit(1)
cc = cloudinit.CloudConfig.CloudConfig(cloudinit.cloud_config)
- cloud_config = cc.cfg
data = {
'user_data' : cc.cloud.get_userdata(),
'user_data_raw' : cc.cloud.get_userdata_raw(),