linecook-gem 0.5.9 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linecook/util/config.rb +1 -1
- data/lib/linecook/version.rb +1 -1
- data/man/LINECOOK.1 +28 -29
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7d139c2ead0135dd0b5b125742cac5e89d0e8ca
|
4
|
+
data.tar.gz: 006ad4a9ec0694deb57e2ca1f70067ac13393008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dde6c79f70c5c594a98acf98534332f8cf45c3543f87bcf75aef32d7b416329fe46bd66434e33a22f15399d7c2803842035ff12af66aaa7c068f7e0d72099fd
|
7
|
+
data.tar.gz: e11e32fa25cdd5a79cc1214f5c20ac46a0a25e7df85e893f64914bd0cbc0885c445645ccbc32e36fe162d12be2cb0cae70f2b2662e0bfc00b5cd89394907f68f
|
data/lib/linecook/util/config.rb
CHANGED
@@ -115,7 +115,7 @@ module Linecook
|
|
115
115
|
end
|
116
116
|
|
117
117
|
def check_lxc
|
118
|
-
version = `
|
118
|
+
version = `lxc-info --version`
|
119
119
|
fail "lxc too old (<#{LXC_MIN_VERSION}) or not present" unless Gem::Version.new(version) >= Gem::Version.new(LXC_MIN_VERSION)
|
120
120
|
end
|
121
121
|
|
data/lib/linecook/version.rb
CHANGED
data/man/LINECOOK.1
CHANGED
@@ -21,39 +21,38 @@ Enabling a means of simple local image development with high production efficacy
|
|
21
21
|
Simplifying continuous integration and testing of linux systems.
|
22
22
|
.RE
|
23
23
|
.SH USAGE
|
24
|
-
.
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
\-\-
|
29
|
-
\-\-
|
30
|
-
\-\-
|
31
|
-
|
32
|
-
.
|
24
|
+
.PP
|
25
|
+
.RS
|
26
|
+
.nf
|
27
|
+
linecook bake SPEC [\-n \-\-name `NAME`] [\-s \-\-snapshot]
|
28
|
+
\-\-name \- The name
|
29
|
+
\-\-snapshot \- Snapshot the resulting image for later use
|
30
|
+
\-\-encrypt \- Encrypt the snapshot using the configured key. Implies snapshot.
|
31
|
+
\-\-upload \- Upload the resulting image to the configured destination. Implies snapshot.
|
32
|
+
\-\-all \- Snapshot, encrypt, and upload the resulting image.
|
33
|
+
Build a linecook image defined by SPEC, with an optional name to help identify it. The default will be the SPEC name
|
33
34
|
linecook builder
|
34
|
-
start \- start a new builder
|
35
|
-
stop \- stop a running builder
|
36
|
-
info \- show the info about the builder
|
37
|
-
ip \- show the builder's ip
|
38
|
-
.TP
|
35
|
+
start \- start a new builder
|
36
|
+
stop \- stop a running builder
|
37
|
+
info \- show the info about the builder
|
38
|
+
ip \- show the builder's ip
|
39
39
|
linecook config
|
40
|
-
setup
|
41
|
-
check \- validate config
|
42
|
-
show
|
43
|
-
.TP
|
40
|
+
setup
|
41
|
+
check \- validate config
|
42
|
+
show
|
44
43
|
linecook build
|
45
|
-
list
|
46
|
-
info NAME
|
47
|
-
ip NAME
|
48
|
-
stop NAME
|
49
|
-
.TP
|
44
|
+
list
|
45
|
+
info NAME
|
46
|
+
ip NAME
|
47
|
+
stop NAME
|
50
48
|
linecook image
|
51
|
-
list
|
52
|
-
keygen \- generate a new secret key for image encryption
|
53
|
-
fetch
|
54
|
-
find [
|
55
|
-
.
|
56
|
-
|
49
|
+
list
|
50
|
+
keygen \- generate a new secret key for image encryption
|
51
|
+
fetch
|
52
|
+
find [`REGEX`] \- list available remote images filtered by an optional regex
|
53
|
+
linecook ami [`image`] [\-r \-\-region `REGION1,REGION2`] [\-x \-\-xen\-type `PV|HVM`] [\-r \-\-root\-size GIGABYTES] \- create an AMI (Amazon Machine Image) from a snapshot.
|
54
|
+
.fi
|
55
|
+
.RE
|
57
56
|
.SH CONFIGURATION
|
58
57
|
.PP
|
59
58
|
Describe config file here once it's been determined
|