diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-11-13 15:27:00 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-11-13 15:27:00 -0500 |
commit | e016e7c7837c70f5fce0c3b3d9bd944a8d43f9f0 (patch) | |
tree | 44fbdf43483489f20ffba7cea188f7c435caac2f /tests | |
parent | bf3c3bb2f5f443aa44a0ff85037861b73c3aad65 (diff) | |
download | vyos-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 'tests')
0 files changed, 0 insertions, 0 deletions