s4:Handle reprovision with existing partitions
authorAndrew Bartlett <abartlet@samba.org>
Tue, 13 Oct 2009 11:10:28 +0000 (22:10 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Oct 2009 11:43:51 +0000 (22:43 +1100)
commit27c28d34a7bb80d188782fb073ee5f0a657c9be8
tree90c88708b6b0c8eb9c6b33565947224c563f9190
parentff3b60d154fe677339ae66bb5994534d9b898d42
s4:Handle reprovision with existing partitions

The issue here is that if we don't put the partitions metadata in the
database before we wipe it, we won't wipe the partitions contents, and
so the provision will later fail (entry already exists)

Andrew Bartlett
source4/scripting/python/samba/provision.py