Commit bfd8714
fix: add /dev/kvm and /dev/net/tun to OCI spec, remove devices config field
Move device provisioning from CLI-side exec hack to the OCI runtime spec.
The bundle builder now always includes /dev/kvm (10,232) and /dev/net/tun
(10,200) as linux.devices entries, so youki creates them during container
setup. No user configuration needed.
Remove the "devices" field from vz.json — these devices are always created
when the kernel supports them.
Bump vz-cli to v0.3.5.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 17e3d46 commit bfd8714
4 files changed
Lines changed: 41 additions & 37 deletions
Some 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 | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | 100 | | |
106 | 101 | | |
107 | 102 | | |
| |||
664 | 659 | | |
665 | 660 | | |
666 | 661 | | |
667 | | - | |
| 662 | + | |
668 | 663 | | |
669 | 664 | | |
670 | 665 | | |
| |||
674 | 669 | | |
675 | 670 | | |
676 | 671 | | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | 672 | | |
683 | 673 | | |
684 | 674 | | |
| |||
758 | 748 | | |
759 | 749 | | |
760 | 750 | | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | 751 | | |
783 | 752 | | |
784 | 753 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
322 | 327 | | |
323 | 328 | | |
324 | 329 | | |
| |||
766 | 771 | | |
767 | 772 | | |
768 | 773 | | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
769 | 804 | | |
770 | 805 | | |
771 | 806 | | |
| |||
0 commit comments