Skip to content

Commit deb94af

Browse files
lipxumssonicbld
authored andcommitted
allow docker_inram to kernel cmd list (sonic-net#15374)
Why I did it After docker_inram is enabled, the docker folder's default max size is 1.5G. It's not big enough for some tests which need to install additional docker images or install extra packages. Work item tracking Microsoft ADO 24199761: How I did it add docker_inram into cmdline_allowlist How to verify it sudo sh -c 'echo "docker_inram_size=3000M" >> kernel-cmdline-append' sudo reboot and check the docker folder size
1 parent d268506 commit deb94af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/Aboot/boot0.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ installer_image_path="$image_path/$installer_image"
8686

8787
boot_config="$target_path/boot-config"
8888

89-
cmdline_allowlist="crashkernel hwaddr_ma1 sonic_fips"
89+
cmdline_allowlist="crashkernel hwaddr_ma1 sonic_fips docker_inram"
9090

9191
# for backward compatibility with the sonic_upgrade= behavior
9292
install="${install:-${sonic_upgrade:-}}"

0 commit comments

Comments
 (0)