Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Fix snapshot reload on ec2 instances (#298)
Browse files Browse the repository at this point in the history
Apparently, AWS has patched its base utils, which works differently when we try to use our scripts.
In this particular case, their ls utility doesn't support a [real basic] flag -l. This caused our reload
script to crash without reloading the subscripts for each particular volume that is tracked by the
driver.

Closes #297
  • Loading branch information
skypodolsky authored Sep 26, 2023
1 parent 74ac70c commit a7ac96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/initramfs/reload
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

ls -l /etc/elastio/dla/mnt/etc/elastio/dla/reload_* > /dev/null 2>&1
ls /etc/elastio/dla/mnt/etc/elastio/dla/reload_* > /dev/null 2>&1

if [ "$?" = "0" ]; then
FILES="/etc/elastio/dla/mnt/etc/elastio/dla/reload_*"
Expand Down

0 comments on commit a7ac96f

Please sign in to comment.