You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@beddari Oh yes, a great point. I was trying to skirt around the platforms that didn't have swap (or even the /sbin/blkid command) to preserve the previous behavior. While I don't normally like doing this, do you think a swapuuid="/sbin/blkid -o value -l -s UUID -t TYPE=swap" || true; would be an okay-ish fix?
#479 applies a more conservative approach than a blanket ignore. It's not as nice to read, but it does deal with just the special case of swapless builders.
With set -e this line will exit minimize.sh if we got no swap partition, seems like that wasn't the intention ...
https://github.com/chef/bento/blob/master/scripts/common/minimize.sh#L3
The text was updated successfully, but these errors were encountered: