From 79c0c8ec58b9d5f9e57fc53cbad57c4a71ed52c6 Mon Sep 17 00:00:00 2001
From: Yolanda Robla Mota <yroblamo@redhat.com>
Date: Wed, 11 Jan 2017 11:10:36 +0100
Subject: [PATCH] Add lsblk to ironic-lib filters

This is needed to check the config-drive labels properly,
as the current way using blkid was failing under some use
cases. So we switched to lsblk instead.

Change-Id: I3676cd8e5c5e61fe4e3f67ab9e121c4cd0cd599b
---
 etc/ironic/rootwrap.d/ironic-lib.filters | 1 +
 1 file changed, 1 insertion(+)

diff --git a/etc/ironic/rootwrap.d/ironic-lib.filters b/etc/ironic/rootwrap.d/ironic-lib.filters
index c06530c5a1..342ab69eb5 100644
--- a/etc/ironic/rootwrap.d/ironic-lib.filters
+++ b/etc/ironic/rootwrap.d/ironic-lib.filters
@@ -12,6 +12,7 @@
 blkid: CommandFilter, blkid, root
 blockdev: CommandFilter, blockdev, root
 hexdump: CommandFilter, hexdump, root
+lsblk: CommandFilter, lsblk, root
 qemu-img: CommandFilter, qemu-img, root
 wipefs: CommandFilter, wipefs, root
 sgdisk: CommandFilter, sgdisk, root