Commit 3e7af9d
committed
[libvirt_manager] Use /sysroot as path with xfs_growfs
With OCP 4.20 the task fails with:-
xfs_growfs: / is not a mounted XFS filesystem
As it's changed now:-
$ sudo df / --output=fstype
Type
overlay
$ sudo df /sysroot --output=fstype
Type
xfs
while with 4.18 it used to be:-
$ df /sysroot --output=fstype
Type
xfs
$ df / --output=fstype
Type
xfs
Changing the command to use /sysroot as path which
works on both 4.20 and older OCP versions. Also run the
command with unshare --mount in seperate namespace.
Signed-off-by: Yatin Karel <[email protected]>1 parent 1059a0c commit 3e7af9d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments