gogetit 0.1.16 → 0.1.17

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
  SHA1:
3
- metadata.gz: 991eebbff8a14f432e2e8a5de6bdfcc67ccc4da3
4
- data.tar.gz: bbbf4a5dc8619bc03d459b9d6187bc9cb7b60ac7
3
+ metadata.gz: ca859fe7f0c344a0ad35f1399333d27f3f3b11cb
4
+ data.tar.gz: 4d0757c1c6f19b488bf6157489a1a957c0a74556
5
5
  SHA512:
6
- metadata.gz: 036e0579d678428b348e98a59821110256b328b30c42acb50e5e3b8853883d1208b8de9bcfbb5c5b2c1d60c30e968c99f114661f2968bc1159a6a532f9090cce
7
- data.tar.gz: 572a304ab361c705b64a1ea1c943df2d7f2110a9810a80ee5dd3695abb2aa89b60d215e1c87f6cd51708eb8a839b873b66e9dcefc76287b7a1861d83edd6c444
6
+ metadata.gz: a680c6c19100699ce2bc19fd1a044feda8dd1c5a603f6edda604bee59c24e8592bfed2f96ce943f112d34358a16a6a94657d52df00db1bd667ac55a54e490606
7
+ data.tar.gz: 1e97fab0260788dde245d94080eebf5de13384a27aaa752c9f7ea0649fdb28d3eb183fdc5eb30e5e541b78ada7de6ab21d8e9419a64a48fd0fcc4be268bfe653
data/README.md CHANGED
@@ -6,8 +6,8 @@ Libraries with a CLI tool for dealing with things like MAAS, LXD and Libvirt.
6
6
 
7
7
  ### dependent packages
8
8
  ```bash
9
- sudo apt install -y build-essential libvirt-dev lxd-client libvirt-bin
10
- sudo reboot
9
+ sudo apt install -y build-essential lxd-client libvirt-dev libvirt-bin
10
+ # logout and in
11
11
 
12
12
  # to remove default network(virbr0)
13
13
  virsh net-destroy default
@@ -40,5 +40,11 @@ module Gogetit
40
40
  end
41
41
  end
42
42
  end
43
+
44
+ desc 'rebuild NAME', 'Destroy and create either a container or KVM domain again.'
45
+ def rebuild(type=nil, name)
46
+ invoke :destroy, [name]
47
+ invoke :create, [type, name]
48
+ end
43
49
  end
44
50
  end
@@ -1,3 +1,3 @@
1
1
  module Gogetit
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gogetit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Draper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-22 00:00:00.000000000 Z
11
+ date: 2017-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler