Commit 8276a1e
Remove volume group and partitions from disk during reset
When a storage configuration is removed, also remove the volume group
and remove partitions from the disk. This is done only if
container-storage-setup created a volume group. If a volume group is
already found on the system at the time of storage creation, then it
is left untouched and no disks are removed as well.
Signed-off-by: Vivek Goyal <[email protected]>
Closes: #243
Approved by: rhatdan1 parent 00c9542 commit 8276a1e
1 file changed
+46
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
876 | 876 | | |
877 | 877 | | |
878 | 878 | | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
879 | 911 | | |
880 | 912 | | |
881 | 913 | | |
| |||
1790 | 1822 | | |
1791 | 1823 | | |
1792 | 1824 | | |
1793 | | - | |
| 1825 | + | |
1794 | 1826 | | |
1795 | 1827 | | |
1796 | 1828 | | |
| |||
1812 | 1844 | | |
1813 | 1845 | | |
1814 | 1846 | | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
1815 | 1860 | | |
1816 | 1861 | | |
1817 | 1862 | | |
| |||
0 commit comments