fabfile.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:automated-deployments 作者: antoniocarlosortiz 项目源码 文件源码
def upgrade_server():
    """
    Upgrade the server as a root user
    """
    run('apt-get update && apt-get -y upgrade')

    # because ubuntu 16.04 no longer has python2.7
    run('sudo apt-get -y install python-simplejson')
    run('sudo reboot')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号