Old thread, but it just solved a problem I was having.
I've cheated in my provisioning script-- my solution was to wrap fdb's perl function in a test condition that determines whether or not the returned VEID is the same one it used last time-- if it is, it sleeps for five seconds and loops...