vagrant-1cloud 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fbe9a6410b93bce54b04da148de0a96bf2d993f2
4
- data.tar.gz: 89b2eefb75811a6639c661232f3afb4cfe4e7f11
3
+ metadata.gz: 51e06d1a366eaca6fe67e6bb6590c710e3b41ac7
4
+ data.tar.gz: 7b42cd84591d1a1718bb5b2f28e3ee41750e3316
5
5
  SHA512:
6
- metadata.gz: 484b7a00ece48c773c46b2470d78b9545fc1fd4dfcfa8212bc18bc6792ec38043cec51b41f439cec066403730ab15d1afa94e7eb14042ca5c40d1ef6ae509047
7
- data.tar.gz: 5c80ea3a06a3553269dc5dfaa887dc9f5f63e1bf6035aea4a03a0f9b8adc752d3b1e80666231ffd8ea8266622a50cd12916f692d49b16a62ffa259420ac9f0b9
6
+ metadata.gz: f9ba06700f2e7e3d594d14724373910520153e8a482f508d374a723be2cb19c7c6353c6798c3436287708099c9d53264adcb45a4150061e8ec77ccb997ab7aa4
7
+ data.tar.gz: 66453bbdb6816ec2408aa2cd94f77249841fb3fa8b0d9a7131cbea6de20e7e57315d0640f471ed0037fecfd2d2bef414fc2eca044be6be4c44057bc85034c771
data/.rake_tasks~ ADDED
@@ -0,0 +1,4 @@
1
+ gem:build
2
+ gem:install
3
+ gem:install:local
4
+ gem:release[remote]
@@ -41,6 +41,9 @@ module VagrantPlugins
41
41
  env[:ui].info I18n.t('vagrant_1cloud.info.setting_private_network')
42
42
  @client.wait_for_event(env, @machine.id, result['body']['ID'])
43
43
 
44
+ # refresh droplet state with provider
45
+ Provider.droplet(@machine, :refresh => true)
46
+
44
47
  result = @client.request("/server/#{@machine.id}")
45
48
  linked_network = result['body']['LinkedNetworks'].find { |network| network['NetworkID'] == private_network['ID'] }
46
49
 
@@ -23,7 +23,7 @@ module VagrantPlugins
23
23
  # create user account
24
24
  @machine.communicate.execute(<<-BASH)
25
25
  if ! (grep ^#{user}: /etc/passwd); then
26
- adduser #{user};
26
+ useradd -m -s /bin/bash #{user};
27
27
  fi
28
28
  BASH
29
29
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module OneCloud
3
- VERSION = '0.0.5'
3
+ VERSION = '0.0.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-1cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bulat Yusupov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-24 00:00:00.000000000 Z
11
+ date: 2017-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -60,6 +60,7 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - ".gitignore"
63
+ - ".rake_tasks~"
63
64
  - Gemfile
64
65
  - LICENSE
65
66
  - Rakefile