summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-02-28 19:12:33 -0500
committerScott Moser <smoser@ubuntu.com>2012-02-28 19:12:33 -0500
commita805702b98bbcafdf0b61c51a483e5f98b2bcab2 (patch)
tree2e9111375f5e870ea7ae055e4874481de0b62110 /cloudinit/util.py
parentf7eba5ca8aaaccd6b88f40c5c6f30715bd185069 (diff)
downloadvyos-cloud-init-a805702b98bbcafdf0b61c51a483e5f98b2bcab2.tar.gz
vyos-cloud-init-a805702b98bbcafdf0b61c51a483e5f98b2bcab2.zip
fix docstring for is_container
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index c93a17c4..c37f0316 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -517,7 +517,8 @@ def dos2unix(string):
def is_container():
- # is this running in a cgroup other than /
+ # is this code running in a container of some sort
+
for helper in ('running-in-container', 'lxc-is-container'):
try:
# try to run a helper program. if it returns true