diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-08-19 15:05:05 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-08-19 16:34:16 +0000 |
commit | 35f3a8779a316ed6a44ce5bb62bea9e2d7c67a16 (patch) | |
tree | ee675867f2d131b874cfc3cda612ee49a2717e31 /morphlib/sysbranchdir_tests.py | |
parent | 7e2553e2101310e9ddfce2ca93c1c923b062ad1e (diff) | |
download | morph-35f3a8779a316ed6a44ce5bb62bea9e2d7c67a16.tar.gz |
deploy: Check correct usage of --upgrade for rawdisk deployments
This avoids confusion when the user expected to be doing an initial
deployment and wasn't aware that a file with the same name as the
target already existed. Previously rawdisk.write would try to mount
the file and upgrade it.
Now we require the user to pass '--upgrade' when they intend to
upgrade, as with other deployment extensions.
Diffstat (limited to 'morphlib/sysbranchdir_tests.py')
0 files changed, 0 insertions, 0 deletions