Permalink
Browse files

Update deploy.rb.sample

  • Loading branch information...
1 parent 2c7e03a commit 6d70bad67c0908e2774e9137ab9e17c696c44a1c @inforserver2 committed May 5, 2014
Showing with 7 additions and 0 deletions.
  1. +7 −0 config/deploy.rb.sample
View
@@ -358,6 +358,12 @@ task :js do
end
+task :updates do
+ run "sudo apt-get -y update"
+ run "sudo apt-get dist-upgrade"
+end
+
+
task :cfg do
run "#{folder}/automate_files/set_hostname #{hostname} #{domain}"
run "echo nameserver 127.0.0.1 > /etc/resolv.conf"
@@ -440,6 +446,7 @@ task :prepare do
#cfg
#tools
# mail
+ updates
end

0 comments on commit 6d70bad

Please sign in to comment.