summaryrefslogtreecommitdiff
path: root/tests/unittests/test_handler/test_handler_chef.py
diff options
context:
space:
mode:
authorPaul Meyer <paulmey@microsoft.com>2018-05-23 15:45:39 -0400
committerScott Moser <smoser@brickies.net>2018-05-23 15:45:39 -0400
commitaa4eeb80839382117e1813e396dc53aa634fd7ba (patch)
tree570eb620d2a7936508c28ff9bdd493cc15dadacb /tests/unittests/test_handler/test_handler_chef.py
parent32c485bdc6e1eee0ad1d92dcd633a4e7ac9ac7a6 (diff)
downloadvyos-cloud-init-aa4eeb80839382117e1813e396dc53aa634fd7ba.tar.gz
vyos-cloud-init-aa4eeb80839382117e1813e396dc53aa634fd7ba.zip
Azure: Ignore NTFS mount errors when checking ephemeral drive
The Azure data source provides a method to check whether a NTFS partition on the ephemeral disk is safe for reformatting to ext4. The method checks to see if there are customer data files on the disk. However, mounting the partition fails on systems that do not have the capability of mounting NTFS. Note that in this case, it is also very unlikely that the NTFS partition would have been used by the system (since it can't mount it). The only case would be where an update to the system removed the capability to mount NTFS, the likelihood of which is also very small. This change allows the reformatting of the ephemeral disk to ext4 on systems where mounting NTFS is not supported.
Diffstat (limited to 'tests/unittests/test_handler/test_handler_chef.py')
0 files changed, 0 insertions, 0 deletions