summaryrefslogtreecommitdiff
path: root/contrib/inventory/gce.py
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2016-06-14 12:03:59 -0700
committerGitHub <noreply@github.com>2016-06-14 12:03:59 -0700
commit8c8e064828b3e3946770af04d5282335ffd3add0 (patch)
tree70d6561fd4170a3089e7ab1d937f9f069a76f872 /contrib/inventory/gce.py
parent9dcfa468f753d57220825d684a725b935c6f7448 (diff)
downloadansible-8c8e064828b3e3946770af04d5282335ffd3add0.tar.gz
Be more lenient of symlinked /bin/sh inside the chroot (#16239)
Symlinks inside of the chroot were failng because we weren't able to determine if they were pointing to a real file or not. We could write some complicated code to walk the symlink path taking into account where the root of the tree is but that could be fragile. Since this is just a sanity check, instead we just assume that the chroot is fine if we find that /bin/sh in the chroot is a symlink. Can revisit if it turns out that many chroots have a /bin/sh that's a broken symlink. Fixes #16097
Diffstat (limited to 'contrib/inventory/gce.py')
0 files changed, 0 insertions, 0 deletions