Пример #1
0
def update_webvirt():
    """
    Update Webvirt on a Remote server
    Webvirt should be already installed
    """
    distro = distrib_id()
    get_webvirt()
    configure_nginx(distro)
    configure_supervisor(distro)
Пример #2
0
def deploy_webvirt():
    """
    Install Webvirt on a Remote server
    """
    distro = distrib_id()
    install_system_packages(distro)
    get_webvirt()
    configure_nginx(distro)
    configure_novnc(distro)
    configure_supervisor(distro)