Skip to content

Commit

Permalink
fix: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalakkal committed Jun 27, 2024
1 parent fe9ebf9 commit c4cab0f
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions exex.manifest.template
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

Expand All @@ -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

]


Expand All @@ -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/",

Expand All @@ -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' }}

0 comments on commit c4cab0f

Please sign in to comment.