summaryrefslogtreecommitdiff
path: root/cloudinit/settings.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-11-13 15:27:00 -0500
committerScott Moser <smoser@ubuntu.com>2012-11-13 15:27:00 -0500
commite016e7c7837c70f5fce0c3b3d9bd944a8d43f9f0 (patch)
tree44fbdf43483489f20ffba7cea188f7c435caac2f /cloudinit/settings.py
parentbf3c3bb2f5f443aa44a0ff85037861b73c3aad65 (diff)
downloadvyos-cloud-init-e016e7c7837c70f5fce0c3b3d9bd944a8d43f9f0.tar.gz
vyos-cloud-init-e016e7c7837c70f5fce0c3b3d9bd944a8d43f9f0.zip
check for a marker file by the normal name also
This check is a waste of a stat any time after the migrator module had run. As it would take care of moving markers. However, if the user runs: sudo cloud-init modules --mode final after an upgrade, they'd otherwise run any module that had a '-' in its name again. To avoid that, we just return true in that case, and inform the user how to run the migrator themselves.
Diffstat (limited to 'cloudinit/settings.py')
0 files changed, 0 insertions, 0 deletions