gogetit 0.22.10 → 0.23.1
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 +4 -4
- data/README.md +1 -0
- data/lib/gogetit/cli.rb +2 -0
- data/lib/gogetit/version.rb +1 -1
- data/lib/providers/lxd.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2771853ad4a505a8aa626c92b26563254104d2919a1a8d3f92c7cd638fb540ce
|
|
4
|
+
data.tar.gz: 6792ff7c44301eb10f5c4932fe0ed9c31038fe21951ec279a056ce9be58aeca8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
data/lib/gogetit/cli.rb
CHANGED
|
@@ -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)
|
data/lib/gogetit/version.rb
CHANGED
data/lib/providers/lxd.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
11
|
+
date: 2018-09-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|