def _init_vagrant_machine(base_box):
    path = os.path.join(HERE, 'Vagrantfile')
    contents = _VAGRANTFILE_TEMPLATE % base_box
    with open(path, 'w') as vagrantfile:
        vagrantfile.write(contents)
dataset/ETHPy150Open ronnix/fabtools/fabtools/tests/functional_tests/conftest.py/_init_vagrant_machine/original