diff options
author | Paul Meyer <paulmey@microsoft.com> | 2018-05-23 15:45:39 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2018-05-23 15:45:39 -0400 |
commit | aa4eeb80839382117e1813e396dc53aa634fd7ba (patch) | |
tree | 570eb620d2a7936508c28ff9bdd493cc15dadacb /cloudinit/simpletable.py | |
parent | 32c485bdc6e1eee0ad1d92dcd633a4e7ac9ac7a6 (diff) | |
download | vyos-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 'cloudinit/simpletable.py')
0 files changed, 0 insertions, 0 deletions