Skip to content

Commit

Permalink
Use sudo in chaosdorf-upgrade script
Browse files Browse the repository at this point in the history
  • Loading branch information
mxey committed Jan 25, 2013
1 parent 11c13b8 commit 963294f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/chaosdorf-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ HOSTS=({backend,extern,intern,shells,vm}.chaosdorf.de chaosdorf.dyndns.org)

for host in ${HOSTS[@]}; do
echo -e "\n\t${host}"
ssh -t root@${host} 'apt-get update && apt-get dist-upgrade'
ssh -t ${host} 'sudo apt-get update && sudo apt-get dist-upgrade'
done

0 comments on commit 963294f

Please sign in to comment.