makebuildserver: use vagrant package; purge custom code

Years ago, vagrant-libvirt did not implement the `vagrant package` command
that we needed, and there were no Ruby people around to implement it for us.
So we hacked a custom version in our Python wrapper.  Now, vagrant-libvirt
v0.7.0 does implement it, so this switches things to just using
`vagrant package`
This commit is contained in:
Hans-Christoph Steiner 2022-04-18 17:49:07 +02:00
parent 380403cb54
commit b4d25d2834
2 changed files with 1 additions and 183 deletions

View file

@ -426,7 +426,7 @@ def main():
if os.path.exists(boxfile):
os.remove(boxfile)
vm.package(output=boxfile)
v.package(output=boxfile)
logging.info("Adding box")
vm.box_add('buildserver', boxfile, force=True)