def sudo(*cmd)
# user can pass a single list in as an argument
# to allow usage like: sudo %w(apt-get install foo)
+ warn "You may need to enter your password here."
if cmd.length == 1 and cmd[0].class == Array
cmd = cmd[0]
end
if not ip_forwarding_enabled?
warn "NOTE: IP forwarding must be enabled in the kernel."
- warn "Turning IP forwarding on. You may be asked to enter your password."
+ warn "Turning IP forwarding on now."
sudo %w(/sbin/sysctl net.ipv4.ip_forward=1)
end
then
echo "Installing Arvados requires at least Ruby 1.9.3."
echo "You may need to enter your password."
- read -p "Press Ctrl-C to abort, otherwise we will install ruby1.9.3 now..." unused
+ read -p "Press Ctrl-C to abort, or else press ENTER to install ruby1.9.3 and continue. " unused
sudo apt-get update
sudo apt-get -y install ruby1.9.3