summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorJason Zions (MSFT) <jasonzio@microsoft.com>2019-05-08 22:47:07 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-05-08 22:47:07 +0000
commitacc25d8d7d603313059ac35b4253b504efc560a9 (patch)
tree2a965b8535e8293b8ab5e161c46f824250a5918c /.gitignore
parent9aa97cfc73b31dc548a240e5f4bd1ef41861cc4d (diff)
downloadvyos-cloud-init-acc25d8d7d603313059ac35b4253b504efc560a9.tar.gz
vyos-cloud-init-acc25d8d7d603313059ac35b4253b504efc560a9.zip
cc_mounts: check if mount -a on no-change fstab path
Under some circumstances, cc_disk_setup may reformat volumes which already appear in /etc/fstab (e.g. Azure ephemeral drive is reformatted from NTFS to ext4 after service-heal). Normally, cc_mounts only calls mount -a if it altered /etc/fstab. With this change cc_mounts will read /proc/mounts and verify if configured mounts are already mounted and if not raise flag to request a mount -a. This handles the case where no changes to fstab occur but a mount -a is required due to change in underlying device which prevented the .mount unit from running until after disk was reformatted. LP: #1825596
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions