Skip to content

Commit

Permalink
NC | generate_entropy() - add /dev/nvme0 disks to the supported devices
Browse files Browse the repository at this point in the history
Signed-off-by: Romy <[email protected]>
  • Loading branch information
romayalon committed Dec 17, 2024
1 parent 633d31c commit 1fdec60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/nb_native.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1fdec60

Please sign in to comment.