From c4cab0fc1dec059748c6653b524c6985d3b0c741 Mon Sep 17 00:00:00 2001 From: Roshan <19766713+rpalakkal@users.noreply.github.com> Date: Wed, 26 Jun 2024 22:38:47 -0400 Subject: [PATCH] fix: rebase --- exex.manifest.template | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/exex.manifest.template b/exex.manifest.template index dcb7a53..a12d500 100644 --- a/exex.manifest.template +++ b/exex.manifest.template @@ -4,7 +4,8 @@ # Rust manifest example libos.entrypoint = "/gramine-ratls" -loader.log_level = "{{ log_level }}" + loader.log_level = "{{ log_level }}" + loader.env.LD_LIBRARY_PATH = "/usr/local/lib:/usr{{ arch_libdir }}:{{ arch_libdir }}" @@ -28,10 +29,9 @@ fs.mounts = [ { path = "/gramine-ratls", uri = "file:{{ entrypoint }}" }, { path = "{{ arch_libdir }}", uri = "file:{{ arch_libdir }}" }, { path = "/tmp", type = "tmpfs" }, - { path = "/usr/lib/ssl/certs/", uri = "file:/usr/lib/ssl/certs/" }, # add this line - { path = "/etc/ssl/certs/", uri = "file:/etc/ssl/certs/" }, # add this line - { path = "/tmp/botCert.pem", uri = "file:/home/ecs-user/fullchain.pem" }, - { path = "/tmp/botKey.pem", uri = "file:/home/ecs-user/privkey.pem" }, + { path = "/usr/lib/ssl/certs/", uri = "file:/usr/lib/ssl/certs/" }, # add this line + { path = "/etc/ssl/certs/", uri = "file:/etc/ssl/certs/" }, # add this line + ] @@ -53,9 +53,6 @@ sgx.trusted_files = [ "file:{{ gramine.runtimedir() }}/", "file:{{ arch_libdir }}/", "file:teleport.env", - "file:main.db", -"file:/home/ecs-user/privkey.pem", -"file:/home/ecs-user/fullchain.pem", "file:/usr/lib/ssl/certs/", "file:/etc/ssl/certs/", @@ -68,8 +65,4 @@ sgx.trusted_files = [ # - any threads and threadpools you might be starting # - helper threads internal to Gramine — see: # https://gramine.readthedocs.io/en/stable/manifest-syntax.html#number-of-threads -sgx.enclave_size = "2G" -sgx.max_threads = 128 -sys.insecure__allow_eventfd = true -sys.stack.size = "2M" -sys.brk.max_size = "256M" +sgx.max_threads = {{ '1' if env.get('EDMM', '0') == '1' else '32' }} \ No newline at end of file