Skip to content

Commit

Permalink
Automatically get SSD_DEVICE
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanielloNTIA committed May 10, 2024
1 parent d62ed2d commit 340588c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions env.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# Copy env.template to env and modify


# Mark all the following variables for export
set -o allexport

Expand Down Expand Up @@ -88,7 +87,7 @@ SSL_CERT_PATH=sensor01.pem
SSL_KEY_PATH=sensor01.pem

# Device made available to SCOS Plugins, e.g. for getting SMART data
SSD_DEVICE=/dev/nvme0n1
SSD_DEVICE="$(lsblk -I 8 -npdo KNAME)"

# Size of shared memory for API container (/dev/shm), used for parallel processing
# See https://docs.docker.com/compose/compose-file/compose-file-v3/#shm_size
Expand Down

0 comments on commit 340588c

Please sign in to comment.