This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
products:sbc:vim4:configurations:user-config [2022/08/11 00:02] nick |
products:sbc:vim4:configurations:user-config [2022/08/11 03:55] hyphop |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== VIM4 User Config | + | ====== VIM4 kernel bootargs user config |
===== Introduction ===== | ===== Introduction ===== | ||
- | This page mainly introduces | + | This page mainly introduces |
- | ===== Add User Configuration | + | ===== How-to customize linux kernel bootargs |
You can edit file ''/ | You can edit file ''/ | ||
Line 23: | Line 23: | ||
``` | ``` | ||
- | You can append your bootargs to node '' | + | You can append your bootargs to node '' |
e.g. Add bootargs '' | e.g. Add bootargs '' | ||
Line 30: | Line 30: | ||
boot_user_args=cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory systemd.unified_cgroup_hierarchy=0 | boot_user_args=cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory systemd.unified_cgroup_hierarchy=0 | ||
``` | ``` | ||
+ | |||
+ | <WRAP important > | ||
+ | Please make sure the bootargs are spilt with space and don't add quotation marks. | ||
+ | </ | ||
+ | |||
<WRAP info > | <WRAP info > | ||
Save the file and reboot to take effect. | Save the file and reboot to take effect. | ||
</ | </ | ||
+ | |||
+ | ===== How-to check linux kernel bootargs ===== | ||
+ | |||
+ | After reboot system, we can check current linux kernel bootargs | ||
+ | |||
+ | ```shell | ||
+ | $ cat / | ||
+ | ``` | ||