suitmymind-ubuntu-machine 0.0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,6 +36,7 @@ namespace :aptitude do
36
36
  # By default, OVH replace the original /etc/issue. The safe_upgrade will then ask \
37
37
  # if it must overwrite this file, since it has been modified by OVH. \
38
38
  # data =~ /^\*\*\*\sissue/ looks for the interactive prompt to enable you to answer
39
+ sudo 'aptitude hold console-setup -y'
39
40
  sudo 'aptitude safe-upgrade -y', :pty => true do |ch, stream, data|
40
41
  if data =~ /^\*\*\*\sissue/
41
42
  # prompt, and then send the response to the remote process
@@ -17,7 +17,7 @@ namespace :machine do
17
17
  end
18
18
 
19
19
  run "adduser #{user_to_create}", :pty => true do |ch, stream, data|
20
- if data =~ /Enter new UNIX password/ || data=~ /Retype new UNIX password:/ || data=~/\[\]\:/ || data=~/\[y\/N\]/
20
+ if data =~ /Enter new UNIX password/ || data=~ /Retype new UNIX password:/ || data=~/\[\]\:/ || data=~/\[y\/N\]/i
21
21
  # prompt, and then send the response to the remote process
22
22
  ch.send_data(Capistrano::CLI.password_prompt(data) + "\n")
23
23
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: suitmymind-ubuntu-machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Balthazar
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-02 00:00:00 -08:00
12
+ date: 2009-01-15 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency