Commit 570f8e0
fix: proper shell quoting in
- Replace hand-rolled shell_escape() with shell_words::quote() so that
`vz run -- sh -c 'echo hello'` correctly preserves multi-word arguments
when passed through /bin/sh -c.
- Auto-create /dev/kvm and /dev/net/tun in the init script when the kernel
supports them but devtmpfs doesn't populate the nodes. Applies to both
initramfs-only and overlay rootfs (chroot) boot paths.
Bump vz-cli to v0.3.2.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>vz run and auto-create /dev/kvm, /dev/net/tun1 parent e20843f commit 570f8e0
File tree
4 files changed
+31
-13
lines changed- crates
- vz-cli
- src/commands
- linux/initramfs
4 files changed
+31
-13
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
262 | 269 | | |
263 | 270 | | |
264 | 271 | | |
| |||
283 | 290 | | |
284 | 291 | | |
285 | 292 | | |
286 | | - | |
| 293 | + | |
287 | 294 | | |
288 | 295 | | |
289 | 296 | | |
| |||
866 | 873 | | |
867 | 874 | | |
868 | 875 | | |
869 | | - | |
870 | | - | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
14 | 25 | | |
15 | 26 | | |
16 | 27 | | |
| |||
58 | 69 | | |
59 | 70 | | |
60 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
61 | 81 | | |
62 | 82 | | |
63 | 83 | | |
| |||
0 commit comments