• Justin Santa Barbara's avatar
    AWS: Don't error if there are no ephemeral disks · 1c3f7063
    Justin Santa Barbara authored
    format-disks used to run with non-strict bash semantics, but this changed in
    1.2 as we now merge it into the GCE script, so pipefail and errexit are both
    set.
    
    However, the way we list the ephemeral disks, by piping to grep, would cause an
    exit code of 2 if there were no ephemeral disks.
    
    Tolerate failure here by add `|| true`.  The metadata service call is unlikely
    to fail, so we continue to ignore that possibility.
    1c3f7063
Name
Last commit
Last update
..
iam Loading commit data...
configure-vm-aws.sh Loading commit data...
format-disks.sh Loading commit data...