Select another way to get device information

If terminal language is Chinese(maybe other language will also have
this problem), it can't get exact root disk size because the word
"Disk" is not in English. So drdb config will fail after unlock.
Select another way to get device information to avoid this problem.

Closes-Bug: 1859951
Change-Id: Ie144f7f302b73854c8407681a5dd0981797d4c5f
Signed-off-by: hutianhao <hu.tianhao@99cloud.net>
This commit is contained in:
hutianhao
2020-02-19 17:14:44 +08:00
parent ab326a5887
commit 3a21623f6b
3 changed files with 5 additions and 12 deletions

View File

@@ -9,6 +9,7 @@ URL: unknown
Source0: %{name}-%{version}.tar.gz
Requires: ansible
Requires: pyparted
Requires: python
Requires: python2-netaddr
Requires: python2-ptyprocess