Use tmpfs for /var/log for Arista 7260 (#13587)

This is to reduce writes to disk, which then can use the SSD to get worn
out faster.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
This commit is contained in:
Saikrishna Arcot 2023-02-02 09:07:33 -08:00 committed by Qi Luo
parent 7adf2b1c05
commit 30fbc609c8

View File

@ -497,6 +497,7 @@ write_platform_specific_cmdline() {
if [ "$sid" = "Gardena" ] || [ "$sid" = "GardenaE" ]; then if [ "$sid" = "Gardena" ] || [ "$sid" = "GardenaE" ]; then
aboot_machine=arista_7260cx3_64 aboot_machine=arista_7260cx3_64
flash_size=28000 flash_size=28000
cmdline_add logs_inram=on
fi fi
if [ "$sid" = "Alhambra" ]; then if [ "$sid" = "Alhambra" ]; then
aboot_machine=arista_7170_64c aboot_machine=arista_7170_64c