Add url warning disable to openbmc-sfw
Same feature in the other files, prevents the
"InsecureRequestWarning.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/geissonator/openbmc-events/openbmc-sfw b/geissonator/openbmc-events/openbmc-sfw
index 67a8ec3..f4d5382 100755
--- a/geissonator/openbmc-events/openbmc-sfw
+++ b/geissonator/openbmc-events/openbmc-sfw
@@ -6,6 +6,9 @@
import time
import json
+import urllib3
+urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
+
class BMC:
def __init__(self, server):
self.url = "https://{0}/".format(server)