Skip to content

Commit d292002

Browse files
committed
NC | generate_entropy() - add /dev/nvme0n1 disks to the supported devices
Signed-off-by: Romy <35330373+romayalon@users.noreply.github.com>
1 parent 7c70730 commit d292002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/nb_native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ async function generate_entropy(loop_cond) {
120120
const count = 32;
121121
let disk;
122122
let disk_size;
123-
for (disk of ['/dev/sda', '/dev/vda', '/dev/xvda', '/dev/dasda', '/dev/nvme0']) {
123+
for (disk of ['/dev/sda', '/dev/vda', '/dev/xvda', '/dev/dasda']) {
124124
try {
125125
const res = await async_exec(`blockdev --getsize64 ${disk}`);
126126
disk_size = res.stdout;

0 commit comments

Comments
 (0)