gogetit 0.22.10 → 0.23.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: 3a6930d64b643d6e2dbc4e49957a6a89f6667abbbecf2b80519ceb2572ca334c
4
- data.tar.gz: 99506b2526e06fd65dc9009719cb88855bb97ba07e796bc5e37309ff385dd6ee
3
+ metadata.gz: 2771853ad4a505a8aa626c92b26563254104d2919a1a8d3f92c7cd638fb540ce
4
+ data.tar.gz: 6792ff7c44301eb10f5c4932fe0ed9c31038fe21951ec279a056ce9be58aeca8
5
5
  SHA512:
6
- metadata.gz: e18c2ffdcbc08b80164241af0f89844d758db902865d95a2418913ce2afc781fae0b09e1669ed1462e577c7ecc498b688b288dd1c6b7e53f7c9d746fd44ec867
7
- data.tar.gz: c2b7b70114758503dc93a034f6f0803570e6e56dd721f4aeac6ff27e3e40e3833b8685492fb722cf8486eb0f7900fa2984ec99e658a28764bd2f519049a99d84
6
+ metadata.gz: b081289501bcafb980a10e16e7c56e81a9afa2be3d500dd10b112156250dec2ad0cf6c783d05fca680f3f179bf18222fe6f4be11a647d6e83c1f4617a22820eb
7
+ data.tar.gz: '0957fad9e4658beaa0fdb522f59148be4267a0f5af700acf1dd83d6cf9cfcb263cd5fec4e6eaacb09f98d26a4900bcbfe0019160185845efbc3102838b492d72'
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Gogetit
2
+ **If you want something, go get it. Period.**
2
3
 
3
4
  Libraries with a CLI tool for dealing with things such as [MAAS](https://docs.ubuntu.com/maas/2.2/en/), [LXD](https://github.com/lxc/lxd/tree/master/doc), Libvirt and Chef.
4
5
  By using this, you will get to use them all together in automated and efficient way.
@@ -76,6 +76,8 @@ module Gogetit
76
76
  '(only for LXD provider with no-maas enabled)'
77
77
  method_option :"lxd-in-lxd", :type => :boolean, \
78
78
  :desc => 'To run LXD inside of LXD enabling "security.nesting"'
79
+ method_option :"kvm-in-lxd", :type => :boolean, \
80
+ :desc => 'To run KVM(Libvirt) inside of LXD'
79
81
  method_option :"file", :aliases => '-f', :type => :string, \
80
82
  :desc => 'File location(only for LXD provider)'
81
83
  def create(name)
@@ -1,3 +1,3 @@
1
1
  module Gogetit
2
- VERSION = "0.22.10"
2
+ VERSION = "0.23.1"
3
3
  end
@@ -78,7 +78,13 @@ module Gogetit
78
78
  end
79
79
 
80
80
  if options[:'lxd-in-lxd']
81
+ lxd_params[:config][:"security.privileged"] = "true"
82
+ lxd_params[:config][:"security.nesting"] = "true"
83
+ end
84
+
85
+ if options[:'kvm-in-lxd']
81
86
  lxd_params[:config][:"security.nesting"] = "true"
87
+ lxd_params[:config][:"linux.kernel_modules"] = "iptable_nat, ip6table_nat, ebtables, openvswitch, kvm, kvm_intel, tap, vhost, vhost_net, vhost_scsi, vhost_vsock"
82
88
  end
83
89
 
84
90
  lxd_params[:config][:"user.user-data"]['gogetit'] = true
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.22.10
4
+ version: 0.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Draper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-06 00:00:00.000000000 Z
11
+ date: 2018-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler