Repository navigation
Commit fde5568
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 fa0bfa4 commit fde5568
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1053 | 1053 | | |
1054 | 1054 | | |
1055 | 1055 | | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
1056 | 1062 | | |
1057 | 1063 | | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
1058 | 1067 | | |
1059 | 1068 | | |
1060 | 1069 | | |
| |||
1585 | 1594 | | |
1586 | 1595 | | |
1587 | 1596 | | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
1588 | 1611 | | |
1589 | 1612 | | |
1590 | 1613 | | |
| |||
0 commit comments