penguins-eggs 9.3.24 → 9.3.25
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.
- package/.oclif.manifest.json +1 -1
- package/README.md +29 -30
- package/dist/classes/incubation/fisherman.js +3 -6
- package/dist/classes/ovary.js +52 -31
- package/dist/classes/tools.js +1 -2
- package/dist/classes/utils.js +1 -1
- package/dist/commands/export/iso.js +0 -5
- package/dist/commands/produce.js +15 -17
- package/dist/commands/syncfrom.js +8 -8
- package/dist/commands/syncto.js +2 -2
- package/dist/krill/krill-sequence.js +124 -112
- package/package.json +1 -1
- package/scripts/_eggs +51 -52
- package/scripts/eggs.bash +16 -16
package/scripts/_eggs
CHANGED
|
@@ -9,15 +9,15 @@ _eggs () {
|
|
|
9
9
|
local -a _all_commands=(
|
|
10
10
|
"adapt:adapt monitor resolution for VM only"
|
|
11
11
|
"analyze:analyze for syncto"
|
|
12
|
-
"calamares:calamares or install or configure it"
|
|
12
|
+
"calamares:configure calamares or install or configure it"
|
|
13
13
|
"config:Configure and install prerequisites deb packages to run it"
|
|
14
14
|
"cuckoo:PXE start with proxy-dhcp"
|
|
15
|
-
"dad:ask help from daddy - configuration helper"
|
|
15
|
+
"dad:ask help from daddy - TUI configuration helper"
|
|
16
16
|
"export\:deb:export deb/docs/iso to the destination host"
|
|
17
17
|
"export\:iso:export iso in the destination host"
|
|
18
|
-
"install:
|
|
18
|
+
"install:krill: the CLI system installer - the egg became a penguin!"
|
|
19
19
|
"kill:kill the eggs/free the nest"
|
|
20
|
-
"mom:ask
|
|
20
|
+
"mom:ask help from mommy - TUI helper"
|
|
21
21
|
"produce:produce a live image from your system whithout your data"
|
|
22
22
|
"status:informations about eggs status"
|
|
23
23
|
"syncfrom:restore users and user data from a LUKS volumes"
|
|
@@ -32,8 +32,8 @@ _eggs () {
|
|
|
32
32
|
"wardrobe\:list:list costumes and accessoires in wardrobe"
|
|
33
33
|
"wardrobe\:show:show costumes/accessories in wardrobe"
|
|
34
34
|
"wardrobe\:wear:wear costume/accessories from wardrobe"
|
|
35
|
-
"help:Display help for <%= config.bin %>."
|
|
36
35
|
"autocomplete:display autocomplete installation instructions"
|
|
36
|
+
"help:Display help for <%= config.bin %>."
|
|
37
37
|
"version:"
|
|
38
38
|
)
|
|
39
39
|
|
|
@@ -41,8 +41,8 @@ _eggs () {
|
|
|
41
41
|
case $_command_id in
|
|
42
42
|
adapt)
|
|
43
43
|
_command_flags=(
|
|
44
|
-
"--
|
|
45
|
-
"--
|
|
44
|
+
"--help[Show CLI help.]"
|
|
45
|
+
"--verbose[]"
|
|
46
46
|
)
|
|
47
47
|
;;
|
|
48
48
|
|
|
@@ -56,19 +56,19 @@ analyze)
|
|
|
56
56
|
calamares)
|
|
57
57
|
_command_flags=(
|
|
58
58
|
"--help[Show CLI help.]"
|
|
59
|
-
"--verbose[]"
|
|
60
59
|
"--install[install calamares and it's dependencies]"
|
|
61
60
|
"--release[release: remove calamares and all it's dependencies after the installation]"
|
|
62
61
|
"--remove[remove calamares and it's dependencies]"
|
|
63
62
|
"--theme=-[theme/branding for eggs and calamares]:"
|
|
63
|
+
"--verbose[]"
|
|
64
64
|
)
|
|
65
65
|
;;
|
|
66
66
|
|
|
67
67
|
config)
|
|
68
68
|
_command_flags=(
|
|
69
|
-
"--
|
|
70
|
-
"--clean[remove old configuration before to create new one]"
|
|
69
|
+
"--clean[remove old configuration before to create new one]"
|
|
71
70
|
"--help[Show CLI help.]"
|
|
71
|
+
"--nointeractive[assume yes]"
|
|
72
72
|
"--verbose[verbose]"
|
|
73
73
|
)
|
|
74
74
|
;;
|
|
@@ -81,45 +81,44 @@ cuckoo)
|
|
|
81
81
|
|
|
82
82
|
dad)
|
|
83
83
|
_command_flags=(
|
|
84
|
-
"--
|
|
85
|
-
"--clean[remove old configuration before to create]"
|
|
84
|
+
"--clean[remove old configuration before to create]"
|
|
86
85
|
"--default[remove old configuration and force default]"
|
|
86
|
+
"--help[Show CLI help.]"
|
|
87
87
|
"--verbose[]"
|
|
88
88
|
)
|
|
89
89
|
;;
|
|
90
90
|
|
|
91
91
|
export:deb)
|
|
92
92
|
_command_flags=(
|
|
93
|
-
"--
|
|
94
|
-
"--all[export all archs]"
|
|
93
|
+
"--all[export all archs]"
|
|
95
94
|
"--clean[remove old .deb before to copy]"
|
|
95
|
+
"--help[Show CLI help.]"
|
|
96
96
|
"--verbose[verbose]"
|
|
97
97
|
)
|
|
98
98
|
;;
|
|
99
99
|
|
|
100
100
|
export:iso)
|
|
101
101
|
_command_flags=(
|
|
102
|
-
"--
|
|
103
|
-
"--
|
|
104
|
-
"--clean[delete old ISOs before to copy]"
|
|
102
|
+
"--clean[delete old ISOs before to copy]"
|
|
103
|
+
"--help[Show CLI help.]"
|
|
105
104
|
"--verbose[verbose]"
|
|
106
105
|
)
|
|
107
106
|
;;
|
|
108
107
|
|
|
109
108
|
install)
|
|
110
109
|
_command_flags=(
|
|
111
|
-
"--
|
|
110
|
+
"--crypted[Crypted CLI installation]"
|
|
112
111
|
"--custom=-[custom unattended configuration]:"
|
|
113
|
-
"--nointeractive[assume yes]"
|
|
114
|
-
"--ip[hostname as ip, eg: ip-192-168-1-33]"
|
|
115
|
-
"--random[Add random to hostname, eg: colibri-ay412dt]"
|
|
116
112
|
"--domain=-[Domain name, defult: .local]:"
|
|
117
|
-
"--
|
|
118
|
-
"--
|
|
113
|
+
"--help[Show CLI help.]"
|
|
114
|
+
"--ip[hostname as ip, eg: ip-192-168-1-33]"
|
|
115
|
+
"--nointeractive[assume yes]"
|
|
119
116
|
"--none[Swap none: 256M]"
|
|
120
|
-
"--crypted[Crypted CLI installation]"
|
|
121
117
|
"--pve[Proxmox VE install]"
|
|
122
|
-
"--
|
|
118
|
+
"--random[Add random to hostname, eg: colibri-ay412dt]"
|
|
119
|
+
"--small[Swap small: RAM]"
|
|
120
|
+
"--suspend[Swap suspend: RAM x 2]"
|
|
121
|
+
"--unattended[Unattended installation]"
|
|
123
122
|
"--verbose[Verbose]"
|
|
124
123
|
)
|
|
125
124
|
;;
|
|
@@ -139,27 +138,27 @@ mom)
|
|
|
139
138
|
|
|
140
139
|
produce)
|
|
141
140
|
_command_flags=(
|
|
142
|
-
"--
|
|
141
|
+
"--addons=-[addons to be used: adapt, ichoice, pve, rsupport]:"
|
|
143
142
|
"--basename=-[basename]:"
|
|
144
|
-
"--
|
|
145
|
-
"--
|
|
146
|
-
"--
|
|
143
|
+
"--clone[clone]"
|
|
144
|
+
"--cryptedclone[crypted clone]"
|
|
145
|
+
"--help[Show CLI help.]"
|
|
147
146
|
"--max[max compression]"
|
|
148
|
-
"--
|
|
149
|
-
"--
|
|
147
|
+
"--nointeractive[don't ask for user interctions]"
|
|
148
|
+
"--prefix=-[prefix]:"
|
|
149
|
+
"--release[release: max compression, remove penguins-eggs and calamares after installation]"
|
|
150
150
|
"--script[script mode. Generate scripts to manage iso build]"
|
|
151
|
-
"--
|
|
151
|
+
"--standard[standard compression]"
|
|
152
152
|
"--theme=-[theme for livecd, calamares branding and partitions]:"
|
|
153
|
-
"--
|
|
154
|
-
"--
|
|
155
|
-
"--nointeractive[don't ask for user interctions]"
|
|
153
|
+
"--verbose[verbose]"
|
|
154
|
+
"--yolk[-y force yolk renew]"
|
|
156
155
|
)
|
|
157
156
|
;;
|
|
158
157
|
|
|
159
158
|
status)
|
|
160
159
|
_command_flags=(
|
|
161
|
-
"--
|
|
162
|
-
"--
|
|
160
|
+
"--help[Show CLI help.]"
|
|
161
|
+
"--verbose[]"
|
|
163
162
|
)
|
|
164
163
|
;;
|
|
165
164
|
|
|
@@ -167,8 +166,8 @@ syncfrom)
|
|
|
167
166
|
_command_flags=(
|
|
168
167
|
"--delete=-[rsync --delete delete extraneous files from dest dirs]:"
|
|
169
168
|
"--file=-[file LUKS volume encrypted]:"
|
|
170
|
-
"--rootdir=-[rootdir of the installed system, when used from live]:"
|
|
171
169
|
"--help[Show CLI help.]"
|
|
170
|
+
"--rootdir=-[rootdir of the installed system, when used from live]:"
|
|
172
171
|
"--verbose[verbose]"
|
|
173
172
|
)
|
|
174
173
|
;;
|
|
@@ -191,8 +190,8 @@ tools:clean)
|
|
|
191
190
|
|
|
192
191
|
tools:ppa)
|
|
193
192
|
_command_flags=(
|
|
194
|
-
"--
|
|
195
|
-
"--
|
|
193
|
+
"--add[add penguins-eggs PPA repository]"
|
|
194
|
+
"--help[Show CLI help.]"
|
|
196
195
|
"--remove[remove penguins-eggs PPA repository]"
|
|
197
196
|
"--verbose[verbose]"
|
|
198
197
|
)
|
|
@@ -230,47 +229,47 @@ update)
|
|
|
230
229
|
|
|
231
230
|
wardrobe:get)
|
|
232
231
|
_command_flags=(
|
|
233
|
-
"--
|
|
234
|
-
"--
|
|
232
|
+
"--help[Show CLI help.]"
|
|
233
|
+
"--verbose[]"
|
|
235
234
|
)
|
|
236
235
|
;;
|
|
237
236
|
|
|
238
237
|
wardrobe:list)
|
|
239
238
|
_command_flags=(
|
|
240
|
-
"--
|
|
241
|
-
"--
|
|
239
|
+
"--help[Show CLI help.]"
|
|
240
|
+
"--verbose[]"
|
|
242
241
|
)
|
|
243
242
|
;;
|
|
244
243
|
|
|
245
244
|
wardrobe:show)
|
|
246
245
|
_command_flags=(
|
|
247
|
-
"--
|
|
246
|
+
"--help[Show CLI help.]"
|
|
248
247
|
"--json[output JSON]"
|
|
249
248
|
"--verbose[]"
|
|
250
|
-
"--
|
|
249
|
+
"--wardrobe=-[wardrobe]:"
|
|
251
250
|
)
|
|
252
251
|
;;
|
|
253
252
|
|
|
254
253
|
wardrobe:wear)
|
|
255
254
|
_command_flags=(
|
|
256
|
-
"--
|
|
255
|
+
"--help[Show CLI help.]"
|
|
257
256
|
"--no_accessories[not install accessories]"
|
|
258
257
|
"--no_firmwares[not install firmwares]"
|
|
259
258
|
"--silent[]"
|
|
260
259
|
"--verbose[]"
|
|
261
|
-
"--
|
|
260
|
+
"--wardrobe=-[wardrobe]:"
|
|
262
261
|
)
|
|
263
262
|
;;
|
|
264
263
|
|
|
265
|
-
|
|
264
|
+
autocomplete)
|
|
266
265
|
_command_flags=(
|
|
267
|
-
"--
|
|
266
|
+
"--refresh-cache[Refresh cache (ignores displaying instructions)]"
|
|
268
267
|
)
|
|
269
268
|
;;
|
|
270
269
|
|
|
271
|
-
|
|
270
|
+
help)
|
|
272
271
|
_command_flags=(
|
|
273
|
-
"--
|
|
272
|
+
"--nested-commands[Include all nested commands in the output.]"
|
|
274
273
|
)
|
|
275
274
|
;;
|
|
276
275
|
|
package/scripts/eggs.bash
CHANGED
|
@@ -11,33 +11,33 @@ _eggs_autocomplete()
|
|
|
11
11
|
COMPREPLY=()
|
|
12
12
|
|
|
13
13
|
local commands="
|
|
14
|
-
adapt --
|
|
14
|
+
adapt --help --verbose
|
|
15
15
|
analyze --help --verbose
|
|
16
|
-
calamares --help --
|
|
17
|
-
config --
|
|
16
|
+
calamares --help --install --release --remove --theme --verbose
|
|
17
|
+
config --clean --help --nointeractive --verbose
|
|
18
18
|
cuckoo --help
|
|
19
|
-
dad --
|
|
20
|
-
export:deb --
|
|
21
|
-
export:iso --
|
|
22
|
-
install --
|
|
19
|
+
dad --clean --default --help --verbose
|
|
20
|
+
export:deb --all --clean --help --verbose
|
|
21
|
+
export:iso --clean --help --verbose
|
|
22
|
+
install --crypted --custom --domain --help --ip --nointeractive --none --pve --random --small --suspend --unattended --verbose
|
|
23
23
|
kill --help --verbose
|
|
24
24
|
mom --help
|
|
25
|
-
produce --
|
|
26
|
-
status --
|
|
27
|
-
syncfrom --delete --file --
|
|
25
|
+
produce --addons --basename --clone --cryptedclone --help --max --nointeractive --prefix --release --script --standard --theme --verbose --yolk
|
|
26
|
+
status --help --verbose
|
|
27
|
+
syncfrom --delete --file --help --rootdir --verbose
|
|
28
28
|
syncto --delete --file --help --verbose
|
|
29
29
|
tools:clean --help --verbose
|
|
30
|
-
tools:ppa --
|
|
30
|
+
tools:ppa --add --help --remove --verbose
|
|
31
31
|
tools:skel --help --user --verbose
|
|
32
32
|
tools:stat --help --month --year
|
|
33
33
|
tools:yolk --help --verbose
|
|
34
34
|
update --help --verbose
|
|
35
|
-
wardrobe:get --
|
|
36
|
-
wardrobe:list --
|
|
37
|
-
wardrobe:show --
|
|
38
|
-
wardrobe:wear --
|
|
39
|
-
help --nested-commands
|
|
35
|
+
wardrobe:get --help --verbose
|
|
36
|
+
wardrobe:list --help --verbose
|
|
37
|
+
wardrobe:show --help --json --verbose --wardrobe
|
|
38
|
+
wardrobe:wear --help --no_accessories --no_firmwares --silent --verbose --wardrobe
|
|
40
39
|
autocomplete --refresh-cache
|
|
40
|
+
help --nested-commands
|
|
41
41
|
version --json --verbose
|
|
42
42
|
"
|
|
43
43
|
|