Skip to content

Commit

Permalink
Merge pull request #7994 from romayalon/romy-no-disk-candidates-fix
Browse files Browse the repository at this point in the history
NC | generate_entropy() - add dasd disks to the supported devices
  • Loading branch information
romayalon authored Apr 24, 2024
2 parents 5914557 + 6ce452b commit 87ed8fa
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']) {
for (disk of ['/dev/sda', '/dev/vda', '/dev/xvda', '/dev/dasda']) {
try {
const res = await async_exec(`blockdev --getsize64 ${disk}`);
disk_size = res.stdout;
Expand Down

0 comments on commit 87ed8fa

Please sign in to comment.