penguins-eggs 9.2.2 → 9.2.5
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/README.md +147 -132
- package/addons/eggs/theme/livecd/isolinux.theme.cfg +36 -41
- package/conf/eggs.yaml +41 -73
- package/conf/exclude.list +1 -0
- package/conf/krill.yaml +38 -0
- package/lib/classes/daddy.d.ts +2 -2
- package/lib/classes/distro.d.ts +2 -0
- package/lib/classes/distro.js +6 -0
- package/lib/classes/incubation/fisherman.js +1 -1
- package/lib/classes/pacman.js +3 -2
- package/lib/classes/pxe.d.ts +64 -0
- package/lib/classes/pxe.js +352 -0
- package/lib/classes/settings.d.ts +3 -3
- package/lib/classes/settings.js +2 -1
- package/lib/classes/tools.d.ts +2 -2
- package/lib/classes/utils.d.ts +1 -1
- package/lib/classes/utils.js +1 -1
- package/lib/commands/cuckoo.d.ts +24 -0
- package/lib/commands/cuckoo.js +70 -0
- package/lib/commands/install.d.ts +2 -2
- package/lib/commands/install.js +8 -14
- package/lib/commands/produce.js +3 -3
- package/lib/commands/{info.d.ts → status.d.ts} +1 -1
- package/lib/commands/{info.js → status.js} +5 -5
- package/lib/components/summary.d.ts +6 -1
- package/lib/components/summary.js +25 -8
- package/lib/components/users.js +3 -4
- package/lib/interfaces/i-config-tools.d.ts +1 -1
- package/lib/interfaces/i-distro.d.ts +2 -0
- package/lib/interfaces/{i-config.d.ts → i-eggs-config.d.ts} +2 -4
- package/lib/interfaces/{i-config.js → i-eggs-config.js} +0 -0
- package/lib/interfaces/i-krill-config.d.ts +26 -0
- package/lib/interfaces/i-krill-config.js +2 -0
- package/lib/interfaces/i-packages.d.ts +6 -9
- package/lib/interfaces/i-packages.js +3 -0
- package/lib/interfaces/index.d.ts +1 -1
- package/lib/krill/krill-prepare.d.ts +5 -3
- package/lib/krill/krill-prepare.js +159 -35
- package/lib/krill/krill-sequence.d.ts +5 -3
- package/lib/krill/krill-sequence.js +26 -12
- package/lib/krill/modules/fstab.d.ts +5 -0
- package/lib/krill/modules/fstab.js +5 -0
- package/lib/krill/modules/grubcfg.d.ts +5 -0
- package/lib/krill/modules/grubcfg.js +5 -0
- package/lib/krill/modules/hostname.d.ts +5 -0
- package/lib/krill/modules/hostname.js +5 -0
- package/lib/krill/modules/hosts.d.ts +5 -0
- package/lib/krill/modules/hosts.js +5 -0
- package/lib/krill/modules/initramfs-cfg.d.ts +5 -0
- package/lib/krill/modules/initramfs-cfg.js +5 -0
- package/lib/krill/modules/initramfs.d.ts +5 -0
- package/lib/krill/modules/initramfs.js +5 -0
- package/lib/krill/modules/locale-cfg.d.ts +5 -0
- package/lib/krill/modules/locale-cfg.js +5 -0
- package/lib/krill/modules/locale.d.ts +5 -0
- package/lib/krill/modules/locale.js +5 -0
- package/lib/krill/modules/machine-id.d.ts +5 -0
- package/lib/krill/modules/machine-id.js +5 -0
- package/lib/krill/modules/mkfs.d.ts +5 -0
- package/lib/krill/modules/mkfs.js +5 -0
- package/lib/krill/modules/mount-fs.d.ts +5 -0
- package/lib/krill/modules/mount-fs.js +5 -0
- package/lib/krill/modules/mount-vfs.d.ts +5 -0
- package/lib/krill/modules/mount-vfs.js +5 -0
- package/lib/krill/modules/network-cfg.d.ts +5 -0
- package/lib/krill/modules/network-cfg.js +5 -0
- package/lib/krill/modules/packages.d.ts +14 -0
- package/lib/krill/modules/packages.js +65 -0
- package/lib/krill/modules/{partitions.d.ts → partition.d.ts} +5 -0
- package/lib/krill/modules/{partitions.js → partition.js} +5 -0
- package/lib/krill/modules/remove-installer-link.d.ts +5 -0
- package/lib/krill/modules/remove-installer-link.js +5 -0
- package/lib/krill/modules/set-keyboard.d.ts +5 -0
- package/lib/krill/modules/set-keyboard.js +37 -18
- package/lib/krill/modules/set-timezone.d.ts +5 -0
- package/lib/krill/modules/set-timezone.js +5 -0
- package/lib/krill/modules/umount.d.ts +5 -0
- package/lib/krill/modules/umount.js +5 -0
- package/lib/krill/modules/unpackfs.d.ts +5 -0
- package/lib/krill/modules/unpackfs.js +5 -0
- package/manpages/doc/man/eggs.1.gz +0 -0
- package/manpages/doc/man/eggs.html +72 -83
- package/package.json +6 -2
- package/scripts/_eggs +19 -19
- package/scripts/eggs.bash +3 -3
- package/scripts/mom-cli.sh +11 -11
- package/scripts/netgrub.sh +39 -0
- package/manpages/doc/man/eggs.roll.gz +0 -0
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
+
* krill: module umount
|
|
4
|
+
*
|
|
5
|
+
* author: Piero Proietti
|
|
6
|
+
* mail: piero.proietti@gmail.com
|
|
7
|
+
*
|
|
3
8
|
* https://stackoverflow.com/questions/23876782/how-do-i-split-a-typescript-class-into-multiple-files
|
|
4
9
|
*/
|
|
5
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
+
* krill: module unpackfs
|
|
4
|
+
*
|
|
5
|
+
* author: Piero Proietti
|
|
6
|
+
* mail: piero.proietti@gmail.com
|
|
7
|
+
*
|
|
3
8
|
* https://stackoverflow.com/questions/23876782/how-do-i-split-a-typescript-class-into-multiple-files
|
|
4
9
|
*/
|
|
5
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
Binary file
|
|
@@ -6,18 +6,31 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
</head>
|
|
8
8
|
<body>
|
|
9
|
-
<h1>eggs(1) -- the reproductive system of penguins: eggs v9.
|
|
9
|
+
<h1>eggs(1) -- the reproductive system of penguins: eggs v9.2.3</h1>
|
|
10
10
|
<h1>SYNOPSIS</h1>
|
|
11
|
-
<p>
|
|
12
|
-
<pre><code>$ sudo dpkg -i eggs_9.
|
|
11
|
+
<p>Install Debian families (debian/devuan/ubuntu)</p>
|
|
12
|
+
<pre><code>$ sudo dpkg -i eggs_9.2.3_amd64.deb
|
|
13
13
|
</code></pre>
|
|
14
|
-
<p>
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
$
|
|
14
|
+
<p>Install Arch families (Arch, manjaro Linux)</p>
|
|
15
|
+
<p>Arch from AUR</p>
|
|
16
|
+
<pre><code>$ git clone https://aur.archlinux.org/penguins-eggs.git
|
|
17
|
+
$ cd penguins-eggs.git
|
|
18
|
+
$ makepkg -si
|
|
19
|
+
</code></pre>
|
|
20
|
+
<p>Arch from development repo</p>
|
|
21
|
+
<pre><code>$ git clone https://github.com/pieroproietti/penguins-eggs-arch
|
|
22
|
+
$ cd penguins-eggs-arch
|
|
23
|
+
$ makepkg -si
|
|
24
|
+
</code></pre>
|
|
25
|
+
<p>Manjaro from development repo</p>
|
|
26
|
+
<pre><code>$ git clone https://github.com/pieroproietti/penguins-eggs-manjaro
|
|
27
|
+
$ cd penguins-eggs-manjaro
|
|
28
|
+
$ makepkg -si
|
|
29
|
+
</code></pre>
|
|
30
|
+
<h1>USAGE</h1>
|
|
31
|
+
<pre><code>$ eggs (-v|--version|version)
|
|
19
32
|
|
|
20
|
-
penguins-eggs/9.
|
|
33
|
+
penguins-eggs/9.2.3 linux-x64 node-v16.16.0
|
|
21
34
|
$ eggs --help [COMMAND]
|
|
22
35
|
|
|
23
36
|
USAGE
|
|
@@ -25,18 +38,20 @@ $ eggs COMMAND
|
|
|
25
38
|
</code></pre>
|
|
26
39
|
<p>Most of the commands of eggs need sudo, but there are exceptions for export, info and mom.</p>
|
|
27
40
|
<p>examples:</p>
|
|
28
|
-
<pre><code>sudo eggs
|
|
29
|
-
sudo eggs produce
|
|
41
|
+
<pre><code>sudo eggs produce --fast
|
|
42
|
+
sudo eggs produce --fast --clone
|
|
43
|
+
sudo eggs produce --fast --backup
|
|
30
44
|
sudo eggs kill
|
|
31
45
|
</code></pre>
|
|
32
46
|
<p>There are too, two interactive helpers:</p>
|
|
33
47
|
<pre><code>eggs mom
|
|
34
48
|
sudo eggs dad
|
|
49
|
+
sudo eggs dad -d
|
|
35
50
|
</code></pre>
|
|
36
|
-
<p>Help yorself signing
|
|
51
|
+
<p>Help yorself signing on telegram https://t.me/penguins_eggs or in facebook group page or asking me.</p>
|
|
37
52
|
<h1>DESCRIPTION</h1>
|
|
38
53
|
<p>eggs is a console utility, in active development, who let you to remaster your system and redistribuite it as iso image.</p>
|
|
39
|
-
<p>The scope of this project is to implement the process of remastering your version of Linux, generate it as ISO image to burn on a CD/DVD or copy to a usb key to boot your system. You can easily install your live system with gui installer (calamares) or eggs
|
|
54
|
+
<p>The scope of this project is to implement the process of remastering your version of Linux, generate it as ISO image to burn on a CD/DVD or copy to a usb key to boot your system. You can easily install your live system with gui installer (calamares) or eggs CLI installer (krill).</p>
|
|
40
55
|
<h1>COMMANDS</h1>
|
|
41
56
|
<ul>
|
|
42
57
|
<li><a href="#eggs-adapt"><code>eggs adapt</code></a></li>
|
|
@@ -49,12 +64,11 @@ sudo eggs dad
|
|
|
49
64
|
<li><a href="#eggs-export-docs"><code>eggs export docs</code></a></li>
|
|
50
65
|
<li><a href="#eggs-export-iso"><code>eggs export iso</code></a></li>
|
|
51
66
|
<li><a href="#eggs-help-command"><code>eggs help [COMMAND]</code></a></li>
|
|
52
|
-
<li><a href="#eggs-
|
|
67
|
+
<li><a href="#eggs-install"><code>eggs install</code></a></li>
|
|
53
68
|
<li><a href="#eggs-kill"><code>eggs kill</code></a></li>
|
|
54
|
-
<li><a href="#eggs-krill"><code>eggs krill</code></a></li>
|
|
55
69
|
<li><a href="#eggs-mom"><code>eggs mom</code></a></li>
|
|
56
70
|
<li><a href="#eggs-produce"><code>eggs produce</code></a></li>
|
|
57
|
-
<li><a href="#eggs-
|
|
71
|
+
<li><a href="#eggs-status"><code>eggs status</code></a></li>
|
|
58
72
|
<li><a href="#eggs-syncfrom"><code>eggs syncfrom</code></a></li>
|
|
59
73
|
<li><a href="#eggs-syncto"><code>eggs syncto</code></a></li>
|
|
60
74
|
<li><a href="#eggs-tools-clean"><code>eggs tools clean</code></a></li>
|
|
@@ -229,17 +243,24 @@ FLAGS
|
|
|
229
243
|
DESCRIPTION
|
|
230
244
|
Display help for eggs.
|
|
231
245
|
</code></pre>
|
|
232
|
-
<h2><code>eggs
|
|
233
|
-
<p>
|
|
246
|
+
<h2><code>eggs install</code></h2>
|
|
247
|
+
<p>command-line system installer - the egg became a penguin!</p>
|
|
234
248
|
<pre><code>USAGE
|
|
235
|
-
$ eggs
|
|
249
|
+
$ eggs install [-u] [-k] [-p] [-h] [-v]
|
|
236
250
|
|
|
237
251
|
FLAGS
|
|
238
|
-
-h, --help
|
|
239
|
-
-
|
|
252
|
+
-h, --help Show CLI help.
|
|
253
|
+
-k, --crypted crypted CLI installation
|
|
254
|
+
-p, --pve Proxmox VE install
|
|
255
|
+
-u, --unattended unattended CLI installation
|
|
256
|
+
-v, --verbose verbose
|
|
240
257
|
|
|
241
258
|
DESCRIPTION
|
|
242
|
-
|
|
259
|
+
command-line system installer - the egg became a penguin!
|
|
260
|
+
|
|
261
|
+
EXAMPLES
|
|
262
|
+
$ eggs install
|
|
263
|
+
Install the system using krill installer
|
|
243
264
|
</code></pre>
|
|
244
265
|
<h2><code>eggs kill</code></h2>
|
|
245
266
|
<p>kill the eggs/free the nest</p>
|
|
@@ -256,25 +277,6 @@ DESCRIPTION
|
|
|
256
277
|
EXAMPLES
|
|
257
278
|
$ eggs kill
|
|
258
279
|
kill the eggs/free the nest
|
|
259
|
-
</code></pre>
|
|
260
|
-
<h2><code>eggs krill</code></h2>
|
|
261
|
-
<p>command-line system installer - the egg became a penguin!</p>
|
|
262
|
-
<pre><code>USAGE
|
|
263
|
-
$ eggs krill [-c] [-k] [-p] [-h] [-v]
|
|
264
|
-
|
|
265
|
-
FLAGS
|
|
266
|
-
-c, --cli force use CLI installer
|
|
267
|
-
-h, --help Show CLI help.
|
|
268
|
-
-k, --crypted crypted CLI installation
|
|
269
|
-
-p, --pve Proxmox VE install
|
|
270
|
-
-v, --verbose verbose
|
|
271
|
-
|
|
272
|
-
DESCRIPTION
|
|
273
|
-
command-line system installer - the egg became a penguin!
|
|
274
|
-
|
|
275
|
-
EXAMPLES
|
|
276
|
-
$ eggs install
|
|
277
|
-
Install the system using GUI or CLI installer
|
|
278
280
|
</code></pre>
|
|
279
281
|
<h2><code>eggs mom</code></h2>
|
|
280
282
|
<p>ask for mommy - gui helper</p>
|
|
@@ -290,11 +292,12 @@ DESCRIPTION
|
|
|
290
292
|
<h2><code>eggs produce</code></h2>
|
|
291
293
|
<p>produce a live image from your system whithout your data</p>
|
|
292
294
|
<pre><code>USAGE
|
|
293
|
-
$ eggs produce [-p <value>] [--basename <value>] [-b] [-f] [-n] [-m] [-v] [-y] [-s] [-h] [--theme
|
|
294
|
-
[--addons <value>] [--release]
|
|
295
|
+
$ eggs produce [-p <value>] [--basename <value>] [-b] [-c] [-f] [-n] [-m] [-v] [-y] [-s] [-h] [--theme
|
|
296
|
+
<value>] [--addons <value>] [--release]
|
|
295
297
|
|
|
296
298
|
FLAGS
|
|
297
|
-
-b, --backup backup mode
|
|
299
|
+
-b, --backup backup mode (CRYPTED)
|
|
300
|
+
-c, --clone clone mode
|
|
298
301
|
-f, --fast fast compression
|
|
299
302
|
-h, --help Show CLI help.
|
|
300
303
|
-m, --max max compression
|
|
@@ -305,7 +308,7 @@ FLAGS
|
|
|
305
308
|
-y, --yolk -y force yolk renew
|
|
306
309
|
--addons=<value>... addons to be used: adapt, ichoice, pve, rsupport
|
|
307
310
|
--basename=<value> basename
|
|
308
|
-
--release release:
|
|
311
|
+
--release release: max compression, remove penguins-eggs and calamares after installation
|
|
309
312
|
--theme=<value> theme for livecd, calamares branding and partitions
|
|
310
313
|
|
|
311
314
|
DESCRIPTION
|
|
@@ -342,32 +345,20 @@ EXAMPLES
|
|
|
342
345
|
produce scripts to build an ISO as the previus example. Scripts can be found
|
|
343
346
|
in /home/eggs/ovarium and you can customize all you need
|
|
344
347
|
</code></pre>
|
|
345
|
-
<h2><code>eggs
|
|
346
|
-
<p>
|
|
348
|
+
<h2><code>eggs status</code></h2>
|
|
349
|
+
<p>informations about eggs status</p>
|
|
347
350
|
<pre><code>USAGE
|
|
348
|
-
$ eggs
|
|
351
|
+
$ eggs status [-v] [-h]
|
|
349
352
|
|
|
350
353
|
FLAGS
|
|
351
|
-
-
|
|
352
|
-
-
|
|
353
|
-
-p, --purge remove eggs configurations files
|
|
354
|
-
-v, --verbose verbose
|
|
354
|
+
-h, --help Show CLI help.
|
|
355
|
+
-v, --verbose
|
|
355
356
|
|
|
356
357
|
DESCRIPTION
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
EXAMPLES
|
|
360
|
-
$ sudo eggs remove
|
|
361
|
-
remove eggs
|
|
362
|
-
|
|
363
|
-
$ sudo eggs remove --purge
|
|
364
|
-
remove eggs, eggs configurations, configuration's files
|
|
365
|
-
|
|
366
|
-
$ sudo eggs remove --autoremove
|
|
367
|
-
remove eggs, eggs configurations, packages dependencies
|
|
358
|
+
informations about eggs status
|
|
368
359
|
</code></pre>
|
|
369
360
|
<h2><code>eggs syncfrom</code></h2>
|
|
370
|
-
<p>
|
|
361
|
+
<p>restore users and user data from a LUKS volumes</p>
|
|
371
362
|
<pre><code>USAGE
|
|
372
363
|
$ eggs syncfrom [--delete <value>] [-f <value>] [-r <value>] [-h] [-v]
|
|
373
364
|
|
|
@@ -379,13 +370,13 @@ FLAGS
|
|
|
379
370
|
--delete=<value> rsync --delete delete extraneous files from dest dirs
|
|
380
371
|
|
|
381
372
|
DESCRIPTION
|
|
382
|
-
|
|
373
|
+
restore users and user data from a LUKS volumes
|
|
383
374
|
|
|
384
375
|
EXAMPLES
|
|
385
376
|
$ sudo eggs restore
|
|
386
377
|
</code></pre>
|
|
387
378
|
<h2><code>eggs syncto</code></h2>
|
|
388
|
-
<p>
|
|
379
|
+
<p>saves users and user data in a LUKS volume inside the iso</p>
|
|
389
380
|
<pre><code>USAGE
|
|
390
381
|
$ eggs syncto [--delete <value>] [-f <value>] [-h] [-v]
|
|
391
382
|
|
|
@@ -396,7 +387,7 @@ FLAGS
|
|
|
396
387
|
--delete=<value> rsync --delete delete extraneous files from dest dirs
|
|
397
388
|
|
|
398
389
|
DESCRIPTION
|
|
399
|
-
|
|
390
|
+
saves users and user data in a LUKS volume inside the iso
|
|
400
391
|
|
|
401
392
|
EXAMPLES
|
|
402
393
|
$ sudo eggs syncto
|
|
@@ -476,7 +467,18 @@ EXAMPLES
|
|
|
476
467
|
</code></pre>
|
|
477
468
|
<h2><code>eggs version</code></h2>
|
|
478
469
|
<pre><code>USAGE
|
|
479
|
-
$ eggs version
|
|
470
|
+
$ eggs version [--json] [--verbose]
|
|
471
|
+
|
|
472
|
+
FLAGS
|
|
473
|
+
--verbose Show additional information about the CLI.
|
|
474
|
+
|
|
475
|
+
GLOBAL FLAGS
|
|
476
|
+
--json Format output as json.
|
|
477
|
+
|
|
478
|
+
FLAG DESCRIPTIONS
|
|
479
|
+
--verbose Show additional information about the CLI.
|
|
480
|
+
|
|
481
|
+
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
|
|
480
482
|
</code></pre>
|
|
481
483
|
<h2><code>eggs wardrobe get [REPO]</code></h2>
|
|
482
484
|
<p>get warorobe</p>
|
|
@@ -569,29 +571,16 @@ DESCRIPTION
|
|
|
569
571
|
|
|
570
572
|
/usr/lib/penguins-eggs (deb package)
|
|
571
573
|
here eggs is installed
|
|
572
|
-
OR
|
|
573
|
-
/usr/lib/node_modules/penguins-eggs/ (npm package)
|
|
574
|
-
here eggs is installed
|
|
575
574
|
</code></pre>
|
|
576
575
|
<h1>TROUBLES</h1>
|
|
577
|
-
<ul>
|
|
578
|
-
<li><strong>sudo eggs update</strong> # select basket, choose the version and download it but not install. The package will saver in /tmp;</li>
|
|
579
|
-
</ul>
|
|
580
|
-
<p>remove old version:</p>
|
|
581
|
-
<ul>
|
|
582
|
-
<li><strong>sudo apt --purge eggs</strong> # remove eggs</li>
|
|
583
|
-
</ul>
|
|
584
|
-
<p>and, finally install the new one:</p>
|
|
585
|
-
<ul>
|
|
586
|
-
<li><strong>sudo dpkg -i /tmp/eggs_7.7.9-1_amd64.deb</strong> # install eggs from downloaded package</li>
|
|
587
|
-
</ul>
|
|
588
576
|
<h2>BUGS</h2>
|
|
589
577
|
<p>Report problems o new ideas in: <a href="https://github.com/pieroproietti/penguins-eggs/issues">https://github.com/pieroproietti/penguins-eggs/issues</a></p>
|
|
590
578
|
<h1>RESOURCES AND DOCUMENTATION</h1>
|
|
591
|
-
<p>Consult website to find documentation
|
|
579
|
+
<p>Consult website to find documentation</p>
|
|
592
580
|
<ul>
|
|
593
581
|
<li>website: <strong>https://penguins-eggs.net</strong></li>
|
|
594
582
|
<li>gitHub repository: <strong>https://github.com/pieroproietti/penguins-eggs</strong></li>
|
|
583
|
+
<li>telegram: <strong>https://t.me/penguins_eggs</strong></li>
|
|
595
584
|
</ul>
|
|
596
585
|
<h1>AUTHOR</h1>
|
|
597
586
|
<p>Piero Proietti <a href="mailto:piero.proietti@gmail.com">piero.proietti@gmail.com</a></p>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "penguins-eggs",
|
|
3
3
|
"description": "Perri's Brewery edition: remaster your system and distribuite it",
|
|
4
|
-
"version": "9.2.
|
|
4
|
+
"version": "9.2.5",
|
|
5
5
|
"author": "Piero Proietti @pieroproietti",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eggs": "bin/run"
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
"inquirer": "^8.2.4",
|
|
24
24
|
"js-yaml": "^4.1.0",
|
|
25
25
|
"mustache": "^4.2.0",
|
|
26
|
+
"netmask": "^2.0.2",
|
|
27
|
+
"node-static": "^0.7.11",
|
|
26
28
|
"react": "^17.0.2",
|
|
27
29
|
"shelljs": "0.8.5",
|
|
28
30
|
"tslib": "^2.4.0"
|
|
@@ -35,7 +37,9 @@
|
|
|
35
37
|
"@types/js-yaml": "^4.0.5",
|
|
36
38
|
"@types/mocha": "^9.1.1",
|
|
37
39
|
"@types/mustache": "^4.1.3",
|
|
40
|
+
"@types/netmask": "^1.0.30",
|
|
38
41
|
"@types/node": "^18.6.3",
|
|
42
|
+
"@types/node-static": "^0.7.7",
|
|
39
43
|
"@types/react": "^18.0.12",
|
|
40
44
|
"@types/shelljs": "^0.8.11",
|
|
41
45
|
"@typescript-eslint/parser": "^5.27.1",
|
|
@@ -46,8 +50,8 @@
|
|
|
46
50
|
"globby": "^11",
|
|
47
51
|
"mocha": "^10.0.0",
|
|
48
52
|
"nyc": "^15.1.0",
|
|
49
|
-
"perrisbrewery": "^9.1.37",
|
|
50
53
|
"penguins-oclif": "^9.1.37",
|
|
54
|
+
"perrisbrewery": "^9.1.37",
|
|
51
55
|
"ts-node": "^10.8.1",
|
|
52
56
|
"typedoc": "^0.23.10",
|
|
53
57
|
"typescript": "^4.7.4"
|
package/scripts/_eggs
CHANGED
|
@@ -11,16 +11,16 @@ _eggs () {
|
|
|
11
11
|
"analyze:analyze for syncto"
|
|
12
12
|
"calamares:calamares or install or configure it"
|
|
13
13
|
"config:Configure and install prerequisites deb packages to run it"
|
|
14
|
+
"cuckoo:cuckoo start a PXE boot server serving the live image"
|
|
14
15
|
"dad:ask help from daddy - configuration helper"
|
|
15
16
|
"export\:deb:export deb/docs/iso to the destination host"
|
|
16
17
|
"export\:docs:remove and export docType documentation of the sources in the destination host"
|
|
17
18
|
"export\:iso:export iso in the destination host"
|
|
18
|
-
"info:informations about eggs configuration"
|
|
19
19
|
"install:command-line system installer - the egg became a penguin!"
|
|
20
|
-
"krill:command-line system installer - the egg became a penguin!"
|
|
21
20
|
"kill:kill the eggs/free the nest"
|
|
22
21
|
"mom:ask for mommy - gui helper"
|
|
23
22
|
"produce:produce a live image from your system whithout your data"
|
|
23
|
+
"status:informations about eggs status"
|
|
24
24
|
"syncfrom:restore users and user data from a LUKS volumes"
|
|
25
25
|
"syncto:saves users and user data in a LUKS volume inside the iso"
|
|
26
26
|
"tools\:clean:clean system log, apt, etc"
|
|
@@ -74,6 +74,14 @@ config)
|
|
|
74
74
|
)
|
|
75
75
|
;;
|
|
76
76
|
|
|
77
|
+
cuckoo)
|
|
78
|
+
_command_flags=(
|
|
79
|
+
"--real[start a real dhcp server]"
|
|
80
|
+
"--help[Show CLI help.]"
|
|
81
|
+
"--verbose[verbose]"
|
|
82
|
+
)
|
|
83
|
+
;;
|
|
84
|
+
|
|
77
85
|
dad)
|
|
78
86
|
_command_flags=(
|
|
79
87
|
"--help[Show CLI help.]"
|
|
@@ -109,25 +117,10 @@ export:iso)
|
|
|
109
117
|
)
|
|
110
118
|
;;
|
|
111
119
|
|
|
112
|
-
info)
|
|
113
|
-
_command_flags=(
|
|
114
|
-
"--verbose[]"
|
|
115
|
-
"--help[Show CLI help.]"
|
|
116
|
-
)
|
|
117
|
-
;;
|
|
118
|
-
|
|
119
120
|
install)
|
|
120
121
|
_command_flags=(
|
|
121
|
-
"--
|
|
122
|
-
"--
|
|
123
|
-
"--help[Show CLI help.]"
|
|
124
|
-
"--verbose[verbose]"
|
|
125
|
-
)
|
|
126
|
-
;;
|
|
127
|
-
|
|
128
|
-
krill)
|
|
129
|
-
_command_flags=(
|
|
130
|
-
"--crypted[crypted CLI installation]"
|
|
122
|
+
"--unattended[unattended CLI installation]"
|
|
123
|
+
"--crypted[crypted CLI installation]"
|
|
131
124
|
"--pve[Proxmox VE install]"
|
|
132
125
|
"--help[Show CLI help.]"
|
|
133
126
|
"--verbose[verbose]"
|
|
@@ -166,6 +159,13 @@ produce)
|
|
|
166
159
|
)
|
|
167
160
|
;;
|
|
168
161
|
|
|
162
|
+
status)
|
|
163
|
+
_command_flags=(
|
|
164
|
+
"--verbose[]"
|
|
165
|
+
"--help[Show CLI help.]"
|
|
166
|
+
)
|
|
167
|
+
;;
|
|
168
|
+
|
|
169
169
|
syncfrom)
|
|
170
170
|
_command_flags=(
|
|
171
171
|
"--delete=-[rsync --delete delete extraneous files from dest dirs]:"
|
package/scripts/eggs.bash
CHANGED
|
@@ -15,16 +15,16 @@ adapt --verbose --help
|
|
|
15
15
|
analyze --help --verbose
|
|
16
16
|
calamares --help --verbose --install --release --remove --theme
|
|
17
17
|
config --nointeractive --clean --help --verbose
|
|
18
|
+
cuckoo --real --help --verbose
|
|
18
19
|
dad --help --clean --default --verbose
|
|
19
20
|
export:deb --help --clean --amd64 --i386 --armel --arm64 --all
|
|
20
21
|
export:docs --help
|
|
21
22
|
export:iso --help --backup --clean
|
|
22
|
-
|
|
23
|
-
install --crypted --pve --help --verbose
|
|
24
|
-
krill --crypted --pve --help --verbose
|
|
23
|
+
install --unattended --crypted --pve --help --verbose
|
|
25
24
|
kill --help --verbose
|
|
26
25
|
mom --help
|
|
27
26
|
produce --prefix --basename --backup --clone --fast --normal --max --verbose --yolk --script --help --theme --addons --release
|
|
27
|
+
status --verbose --help
|
|
28
28
|
syncfrom --delete --file --rootdir --help --verbose
|
|
29
29
|
syncto --delete --file --help --verbose
|
|
30
30
|
tools:clean --help --verbose
|
package/scripts/mom-cli.sh
CHANGED
|
@@ -17,10 +17,10 @@ function main {
|
|
|
17
17
|
"calamares" "configure calamares or install and configure it" \
|
|
18
18
|
"dad" "ask help from daddy - configuration helper" \
|
|
19
19
|
"help" "display help for eggs" \
|
|
20
|
-
"info" "informations about system and eggs" \
|
|
21
20
|
"kill" "kill the eggs/free the nest" \
|
|
22
|
-
"
|
|
21
|
+
"install" "krill TUI system installer - the egg becomes a chick" \
|
|
23
22
|
"produce" "the system produces an egg: iso image of your system" \
|
|
23
|
+
"status" "eggs status and informations" \
|
|
24
24
|
"update" "update the penguin's eggs tool" \
|
|
25
25
|
"documentation" "book/book_translated/manual/man" \
|
|
26
26
|
"export" "deb/docs/iso" \
|
|
@@ -48,18 +48,18 @@ function main {
|
|
|
48
48
|
"help")
|
|
49
49
|
help ;;
|
|
50
50
|
|
|
51
|
-
"info")
|
|
52
|
-
info ;;
|
|
53
|
-
|
|
54
51
|
"kill")
|
|
55
52
|
kill ;;
|
|
56
53
|
|
|
57
|
-
"
|
|
58
|
-
|
|
54
|
+
"install")
|
|
55
|
+
install ;;
|
|
59
56
|
|
|
60
57
|
"produce")
|
|
61
58
|
produce ;;
|
|
62
59
|
|
|
60
|
+
"status")
|
|
61
|
+
status ;;
|
|
62
|
+
|
|
63
63
|
"documentation")
|
|
64
64
|
documentation ;;
|
|
65
65
|
|
|
@@ -228,8 +228,8 @@ function help {
|
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
################################
|
|
231
|
-
function
|
|
232
|
-
eggs
|
|
231
|
+
function status {
|
|
232
|
+
eggs status
|
|
233
233
|
press_a_key_to_continue
|
|
234
234
|
}
|
|
235
235
|
|
|
@@ -240,8 +240,8 @@ function kill {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
################################
|
|
243
|
-
function
|
|
244
|
-
sudo eggs
|
|
243
|
+
function install {
|
|
244
|
+
sudo eggs install
|
|
245
245
|
press_a_key_to_continue
|
|
246
246
|
}
|
|
247
247
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
set -e
|
|
4
|
+
|
|
5
|
+
# Sets up a tftp server to netboot x86_64 systems over UEFI.
|
|
6
|
+
# Works on Ubuntu 13.10 and later.
|
|
7
|
+
|
|
8
|
+
# change to the root of your tftp server
|
|
9
|
+
TFTPROOT=/var/lib/tftpboot
|
|
10
|
+
|
|
11
|
+
# needed for unpacking the shim-signed source package
|
|
12
|
+
apt-get install dpkg-dev
|
|
13
|
+
|
|
14
|
+
tmpdir=$(mktemp -d)
|
|
15
|
+
|
|
16
|
+
cleanup () {
|
|
17
|
+
if [ -n "$tmpdir" ]; then
|
|
18
|
+
rm -rf "$tmpdir"
|
|
19
|
+
fi
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
trap cleanup EXIT HUP INT QUIT PIPE TERM
|
|
23
|
+
|
|
24
|
+
cd "$tmpdir"
|
|
25
|
+
apt-get source shim-signed
|
|
26
|
+
cp shim-signed-*/shim.efi.signed "$TFTPROOT"/bootx64.efi
|
|
27
|
+
|
|
28
|
+
cd "$TFTPROOT"
|
|
29
|
+
|
|
30
|
+
wget -O grubx64.efi http://archive.ubuntu.com/ubuntu/dists/saucy/main/uefi/grub2-amd64/current/grubnetx64.efi.signed
|
|
31
|
+
|
|
32
|
+
# Unfortunately the unicode font is assembled by the grub2 package at
|
|
33
|
+
# build-time, so we can't grab it from the source; and we have no persistent
|
|
34
|
+
# URL for it since that changes with each version number; so try to install
|
|
35
|
+
# it (which should be a no-op on x86 anyway) and copy the contents.
|
|
36
|
+
apt-get install grub-common
|
|
37
|
+
mkdir -p grub/fonts
|
|
38
|
+
cp /usr/share/grub/unicode.pf2 grub/fonts
|
|
39
|
+
|
|
Binary file
|