Skip to content

Commit

Permalink
Add silent upgrade command for upgrade and updat
Browse files Browse the repository at this point in the history
Add silent upgrade command for upgrade and updat
  • Loading branch information
llann committed Apr 9, 2014
1 parent 3b21b82 commit 86a8f21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ def uname():
@task
def upgrade():
"""Upgrade a sever"""
sudo("apt-get update -y")
sudo("apt-get upgrade -y")
sudo("apt-get dist-upgrade -y")
sudo("DEBIAN_FRONTEND=noninteractive apt-get update -y")
sudo("DEBIAN_FRONTEND=noninteractive apt-get upgrade -y")
sudo("DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y")


@task
Expand Down

0 comments on commit 86a8f21

Please sign in to comment.