From d05f1b00e2498343c03ba2de543990fffde8a02f Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 5 Mar 2015 12:26:26 -0500 Subject: do not raise exception on non-existant channel.ini file --- cloudinit/config/cc_snappy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit') diff --git a/cloudinit/config/cc_snappy.py b/cloudinit/config/cc_snappy.py index 32fbc9f6..8d73dca3 100644 --- a/cloudinit/config/cc_snappy.py +++ b/cloudinit/config/cc_snappy.py @@ -84,7 +84,7 @@ def system_is_snappy(): # channel.ini is configparser loadable. # snappy will move to using /etc/system-image/config.d/*.ini # this is certainly not a perfect test, but good enough for now. - content = util.load_file("/etc/system-image/channel.ini") + content = util.load_file("/etc/system-image/channel.ini", quiet=True) if 'ubuntu-core' in content.lower(): return True if os.path.isdir("/etc/system-image/config.d/"): -- cgit v1.2.3