From 8f96a391503509761361c91a9040ac7403ca1bcc Mon Sep 17 00:00:00 2001 From: Romy <35330373+romayalon@users.noreply.github.com> Date: Tue, 17 Dec 2024 09:51:42 +0200 Subject: [PATCH] NC | generate_entropy() - add /dev/nvme0 disks to the supported devices Signed-off-by: Romy <35330373+romayalon@users.noreply.github.com> --- src/util/nb_native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/nb_native.js b/src/util/nb_native.js index 6811cae5e1..83c3e5d09c 100644 --- a/src/util/nb_native.js +++ b/src/util/nb_native.js @@ -120,7 +120,7 @@ async function generate_entropy(loop_cond) { const count = 32; let disk; let disk_size; - for (disk of ['/dev/sda', '/dev/vda', '/dev/xvda', '/dev/dasda']) { + for (disk of ['/dev/sda', '/dev/vda', '/dev/xvda', '/dev/dasda', '/dev/nvme0']) { try { const res = await async_exec(`blockdev --getsize64 ${disk}`); disk_size = res.stdout;