smartcloud 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77ed71de3cc780a8cd8672f942b0f31691309159dc941b88bef8be0fbfc36561
4
- data.tar.gz: db7906edf628c1d762415148c1932bd86feb01dfee647c7ca8b075f095689432
3
+ metadata.gz: 3e7bb97a049814c0c3f7008920644356a8ee69d6ea2396d3105003fc3dd3c5d0
4
+ data.tar.gz: 5e6f3d66f5833a08ce634c80b3d85d4cce1f95fea1eb1896d0ccf6d6abcf7f18
5
5
  SHA512:
6
- metadata.gz: 07f54bcb600bdeaef2405a741b9a05b7522264d517d7999a5b7dbbec0214d5552deba01567862b458e1c94fea0acd97e1aef2b574ff71d9e5c9b1af0e8490d05
7
- data.tar.gz: a29bcfb7e3c84b5de7038ce9148a1d17772b26535aac05665b0c56b610c2d06c2a663fcbf023150e990fe20c6081d738c74934896c277e61855670118b78f69b
6
+ metadata.gz: 7d99e4e4169dd773a5ff36152e05f0dabbc5f59155cc2936cc460097862d8edf63153d7173ef5a2796c1849b9a4f5c1cb4b9b7917aec3e312f1c83fb207cc9ad
7
+ data.tar.gz: e3d72619f363bc2d1b2ff368d37e93a859ee6baee6ecb7d8ef044619010563e4847001ff72cdfcfa6ff1efa398f39f69ca07385ca9ba0745e0f2c8731b953fb9
@@ -17,15 +17,16 @@ module Smartcloud
17
17
 
18
18
  puts "-----> Installing Docker"
19
19
  commands = [
20
- "sudo apt-get update",
21
- "sudo apt-get install apt-transport-https ca-certificates curl software-properties-common",
20
+ "sudo apt-get -y update",
21
+ "sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common",
22
22
  "curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -",
23
23
  "sudo apt-key fingerprint 0EBFCD88",
24
24
  "sudo add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable\"",
25
- "sudo apt-get update",
26
- "sudo apt-get install docker-ce",
25
+ "sudo apt-get -y update",
26
+ "sudo apt-get -y install docker-ce",
27
27
  "sudo usermod -aG docker $USER",
28
- "docker run --rm hello-world"
28
+ "docker run --rm hello-world",
29
+ "docker rmi hello-world"
29
30
  ]
30
31
  ssh.run commands
31
32
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Smartcloud
4
- VERSION = "0.2.0".freeze
4
+ VERSION = "0.2.1".freeze
5
5
 
6
6
  def self.version
7
7
  @@version ||= VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard