示例#1
0
文件: tasks.py 项目: jong/fragrant
def start(headless=True):
    """
    Start the VM
    """
    vbox = Vbox(env.vm_name)
    vbox.start(headless=headless)
示例#2
0
文件: tasks.py 项目: jong/fragrant
def halt():
    """
    Stop the VM
    """
    vbox = Vbox(env.vm_name)
    vbox.halt()
示例#3
0
文件: tasks.py 项目: jong/fragrant
def remove():
    """
    Remove an existing box from vagrant
    """
    vbox = Vbox(env.vm_name)
    vbox.remove()