@pothos , I have updated the scripts with the directory logic unification you asked for. I also made it continue if the provision dir exists but is empty.
BTW, I understand why you're passing the provision dir from outside of the prepare.sh, but since we're calling rm -rf for some other dirs within the provision one, I feel like it's more dangerous than having prepare.sh decide to create its own flatcar/lokomotive provision dirs.
@pothos , I have updated the scripts with the directory logic unification you asked for. I also made it continue if the provision dir exists but is empty. BTW, I understand why you're passing the provision dir from outside of the prepare.sh, but since we're calling rm -rf for some other dirs within the provision one, I feel like it's more dangerous than having prepare.sh decide to create its own flatcar/lokomotive provision dirs.