Repository navigation
Commit 49b5453
committed
fix(vm): look for e2fsprogs tools in /usr/sbin and /sbin
The VM driver only checked PATH and the Homebrew e2fsprogs dirs for
mke2fs, e2fsck and debugfs. On Linux these live in /usr/sbin or /sbin,
which usually isn't on a regular user's PATH, so provisioning failed with
"mke2fs not found" even with e2fsprogs installed.
Add /usr/local/sbin, /usr/sbin and /sbin to the search list. macOS
behavior is unchanged.
Closes #3400
Signed-off-by: natedemoss <ndemoss28@gmail.com>1 parent bed9e5e commit 49b5453
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1107 | 1107 | | |
1108 | 1108 | | |
1109 | 1109 | | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
1110 | 1116 | | |
1111 | 1117 | | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
1112 | 1121 | | |
1113 | 1122 | | |
1114 | 1123 | | |
| |||
1668 | 1677 | | |
1669 | 1678 | | |
1670 | 1679 | | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
1671 | 1694 | | |
1672 | 1695 | | |
1673 | 1696 | | |
| |||
0 commit comments