8f242a3df5
initial PowerNV class support (dan)
27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
From 0910d469af8158a37cc6f103a22bd368c99cfb20 Mon Sep 17 00:00:00 2001
|
|
From: Vendula Poncova <vponcova@redhat.com>
|
|
Date: Wed, 12 Jun 2019 13:39:13 +0200
|
|
Subject: [PATCH] Remove teardown_all from the populate method
|
|
|
|
It is not possible to protect devices from teardown when the
|
|
auto_dev_updates flag is set. So let's remove teardown_all from
|
|
the populate method and let users to do that.
|
|
---
|
|
blivet/populator/populator.py | 3 ---
|
|
1 file changed, 3 deletions(-)
|
|
|
|
diff --git a/blivet/populator/populator.py b/blivet/populator/populator.py
|
|
index ebe205e6..465c272d 100644
|
|
--- a/blivet/populator/populator.py
|
|
+++ b/blivet/populator/populator.py
|
|
@@ -416,9 +416,6 @@ def populate(self, cleanup_only=False):
|
|
parted.clear_exn_handler()
|
|
self._hide_ignored_disks()
|
|
|
|
- if flags.auto_dev_updates:
|
|
- self.teardown_all()
|
|
-
|
|
def _populate(self):
|
|
log.info("DeviceTree.populate: ignored_disks is %s ; exclusive_disks is %s",
|
|
self.ignored_disks, self.exclusive_disks)
|