From ecf074865f1876684f143f922fe8641edd21e584 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 22 Jul 2013 13:57:35 -0400 Subject: [PATCH] Continue on mount errors, don't fail the setup module. --- system/setup | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/system/setup b/system/setup index e6fde009afa..c304a3c8482 100644 --- a/system/setup +++ b/system/setup @@ -633,10 +633,7 @@ class LinuxHardware(Hardware): size_total = statvfs_result.f_bsize * statvfs_result.f_blocks size_available = statvfs_result.f_bsize * (statvfs_result.f_bavail) except OSError, e: - if e.errno == errno.ENOENT: - pass - else: - module.fail_json(msg=e.strerror) + continue self.facts['mounts'].append( {'mount': fields[1],