From 7d6bb7c2b9c774f46984562c7ecd9e7de9ecb8ed Mon Sep 17 00:00:00 2001 From: Ellie Ford Date: Mon, 28 Apr 2025 12:22:26 -0700 Subject: [PATCH] work around inotify issues --- kata/packer/configuration-clh.toml | 2 +- kata/packer/ubuntu/configuration-clh.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kata/packer/configuration-clh.toml b/kata/packer/configuration-clh.toml index 1566446a..cab55b1d 100644 --- a/kata/packer/configuration-clh.toml +++ b/kata/packer/configuration-clh.toml @@ -88,7 +88,7 @@ valid_hypervisor_paths = ["/opt/kata/bin/cloud-hypervisor"] # may stop the virtual machine from booting. # To see the list of default parameters, enable hypervisor debug, create a # container and look for 'default-kernel-parameters' log entries. -kernel_params = " " +kernel_params = " sysctl.fs.inotify.max_user_instances=8192 sysctl.fs.inotify.max_user_watches=524288 " # Default number of vCPUs per SB/VM: # unspecified or 0 --> will be set to 1 diff --git a/kata/packer/ubuntu/configuration-clh.toml b/kata/packer/ubuntu/configuration-clh.toml index 1566446a..cab55b1d 100644 --- a/kata/packer/ubuntu/configuration-clh.toml +++ b/kata/packer/ubuntu/configuration-clh.toml @@ -88,7 +88,7 @@ valid_hypervisor_paths = ["/opt/kata/bin/cloud-hypervisor"] # may stop the virtual machine from booting. # To see the list of default parameters, enable hypervisor debug, create a # container and look for 'default-kernel-parameters' log entries. -kernel_params = " " +kernel_params = " sysctl.fs.inotify.max_user_instances=8192 sysctl.fs.inotify.max_user_watches=524288 " # Default number of vCPUs per SB/VM: # unspecified or 0 --> will be set to 1