diff options
author | Chad Smith <chad.smith@canonical.com> | 2017-09-14 14:05:13 -0600 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-09-15 14:42:35 -0400 |
commit | 024ecc1f758d36cc0aa5ebce65704eed6bd66d45 (patch) | |
tree | 870a26d70e4f4655a6e4512d73166ef1a49a89ef /tests/unittests/test_datasource/test_cloudstack.py | |
parent | a2f8ce9c80debdb788e7ab37401aa98c2c270f26 (diff) | |
download | vyos-cloud-init-024ecc1f758d36cc0aa5ebce65704eed6bd66d45.tar.gz vyos-cloud-init-024ecc1f758d36cc0aa5ebce65704eed6bd66d45.zip |
resizefs: Drop check for read-only device file, do not warn on overlayroot.
As root user, os.access(<path>, os.W_OK) will always return True so that
path will never get executed. Also avoid a warning if the root is
overlayroot, which is the common case on a MAAS booted 'ephemeral' system.
Diffstat (limited to 'tests/unittests/test_datasource/test_cloudstack.py')
0 files changed, 0 insertions, 0 deletions