penguins-eggs 9.2.2 → 9.2.4

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.
Files changed (87) hide show
  1. package/README.md +145 -130
  2. package/addons/eggs/theme/livecd/isolinux.theme.cfg +36 -41
  3. package/conf/eggs.yaml +41 -73
  4. package/conf/exclude.list +1 -0
  5. package/conf/krill.yaml +38 -0
  6. package/lib/classes/daddy.d.ts +2 -2
  7. package/lib/classes/distro.d.ts +2 -0
  8. package/lib/classes/distro.js +6 -0
  9. package/lib/classes/incubation/fisherman.js +1 -1
  10. package/lib/classes/pacman.js +3 -2
  11. package/lib/classes/pxe.d.ts +42 -0
  12. package/lib/classes/pxe.js +242 -0
  13. package/lib/classes/settings.d.ts +3 -3
  14. package/lib/classes/settings.js +2 -1
  15. package/lib/classes/tools.d.ts +2 -2
  16. package/lib/classes/utils.d.ts +1 -1
  17. package/lib/classes/utils.js +1 -1
  18. package/lib/commands/cuckoo.d.ts +24 -0
  19. package/lib/commands/cuckoo.js +69 -0
  20. package/lib/commands/install.d.ts +2 -2
  21. package/lib/commands/install.js +8 -14
  22. package/lib/commands/produce.js +3 -3
  23. package/lib/commands/{info.d.ts → status.d.ts} +1 -1
  24. package/lib/commands/{info.js → status.js} +5 -5
  25. package/lib/components/summary.d.ts +6 -1
  26. package/lib/components/summary.js +25 -8
  27. package/lib/components/users.js +3 -4
  28. package/lib/interfaces/i-config-tools.d.ts +1 -1
  29. package/lib/interfaces/i-distro.d.ts +2 -0
  30. package/lib/interfaces/{i-config.d.ts → i-eggs-config.d.ts} +2 -4
  31. package/lib/interfaces/{i-config.js → i-eggs-config.js} +0 -0
  32. package/lib/interfaces/i-krill-config.d.ts +26 -0
  33. package/lib/interfaces/i-krill-config.js +2 -0
  34. package/lib/interfaces/i-packages.d.ts +6 -9
  35. package/lib/interfaces/i-packages.js +3 -0
  36. package/lib/interfaces/index.d.ts +1 -1
  37. package/lib/krill/krill-prepare.d.ts +5 -3
  38. package/lib/krill/krill-prepare.js +159 -35
  39. package/lib/krill/krill-sequence.d.ts +5 -3
  40. package/lib/krill/krill-sequence.js +26 -12
  41. package/lib/krill/modules/fstab.d.ts +5 -0
  42. package/lib/krill/modules/fstab.js +5 -0
  43. package/lib/krill/modules/grubcfg.d.ts +5 -0
  44. package/lib/krill/modules/grubcfg.js +5 -0
  45. package/lib/krill/modules/hostname.d.ts +5 -0
  46. package/lib/krill/modules/hostname.js +5 -0
  47. package/lib/krill/modules/hosts.d.ts +5 -0
  48. package/lib/krill/modules/hosts.js +5 -0
  49. package/lib/krill/modules/initramfs-cfg.d.ts +5 -0
  50. package/lib/krill/modules/initramfs-cfg.js +5 -0
  51. package/lib/krill/modules/initramfs.d.ts +5 -0
  52. package/lib/krill/modules/initramfs.js +5 -0
  53. package/lib/krill/modules/locale-cfg.d.ts +5 -0
  54. package/lib/krill/modules/locale-cfg.js +5 -0
  55. package/lib/krill/modules/locale.d.ts +5 -0
  56. package/lib/krill/modules/locale.js +5 -0
  57. package/lib/krill/modules/machine-id.d.ts +5 -0
  58. package/lib/krill/modules/machine-id.js +5 -0
  59. package/lib/krill/modules/mkfs.d.ts +5 -0
  60. package/lib/krill/modules/mkfs.js +5 -0
  61. package/lib/krill/modules/mount-fs.d.ts +5 -0
  62. package/lib/krill/modules/mount-fs.js +5 -0
  63. package/lib/krill/modules/mount-vfs.d.ts +5 -0
  64. package/lib/krill/modules/mount-vfs.js +5 -0
  65. package/lib/krill/modules/network-cfg.d.ts +5 -0
  66. package/lib/krill/modules/network-cfg.js +5 -0
  67. package/lib/krill/modules/packages.d.ts +14 -0
  68. package/lib/krill/modules/packages.js +65 -0
  69. package/lib/krill/modules/{partitions.d.ts → partition.d.ts} +5 -0
  70. package/lib/krill/modules/{partitions.js → partition.js} +5 -0
  71. package/lib/krill/modules/remove-installer-link.d.ts +5 -0
  72. package/lib/krill/modules/remove-installer-link.js +5 -0
  73. package/lib/krill/modules/set-keyboard.d.ts +5 -0
  74. package/lib/krill/modules/set-keyboard.js +37 -18
  75. package/lib/krill/modules/set-timezone.d.ts +5 -0
  76. package/lib/krill/modules/set-timezone.js +5 -0
  77. package/lib/krill/modules/umount.d.ts +5 -0
  78. package/lib/krill/modules/umount.js +5 -0
  79. package/lib/krill/modules/unpackfs.d.ts +5 -0
  80. package/lib/krill/modules/unpackfs.js +5 -0
  81. package/manpages/doc/man/eggs.1.gz +0 -0
  82. package/manpages/doc/man/eggs.html +72 -83
  83. package/package.json +6 -2
  84. package/scripts/_eggs +23 -24
  85. package/scripts/eggs.bash +4 -4
  86. package/scripts/mom-cli.sh +11 -11
  87. package/manpages/doc/man/eggs.roll.gz +0 -0
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.2",
4
+ "version": "9.2.4",
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 boot server on the LAN sharing iso on the nest"
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"
@@ -33,8 +33,8 @@ _eggs () {
33
33
  "wardrobe\:list:list costumes and accessoires in wardrobe"
34
34
  "wardrobe\:show:show costumes/accessories in wardrobe"
35
35
  "wardrobe\:wear:wear costume/accessories from wardrobe"
36
- "autocomplete:display autocomplete installation instructions"
37
36
  "help:Display help for <%= config.bin %>."
37
+ "autocomplete:display autocomplete installation instructions"
38
38
  "version:"
39
39
  )
40
40
 
@@ -74,6 +74,13 @@ config)
74
74
  )
75
75
  ;;
76
76
 
77
+ cuckoo)
78
+ _command_flags=(
79
+ "--help[Show CLI help.]"
80
+ "--verbose[verbose]"
81
+ )
82
+ ;;
83
+
77
84
  dad)
78
85
  _command_flags=(
79
86
  "--help[Show CLI help.]"
@@ -109,25 +116,10 @@ export:iso)
109
116
  )
110
117
  ;;
111
118
 
112
- info)
113
- _command_flags=(
114
- "--verbose[]"
115
- "--help[Show CLI help.]"
116
- )
117
- ;;
118
-
119
119
  install)
120
120
  _command_flags=(
121
- "--crypted[crypted CLI installation]"
122
- "--pve[Proxmox VE install]"
123
- "--help[Show CLI help.]"
124
- "--verbose[verbose]"
125
- )
126
- ;;
127
-
128
- krill)
129
- _command_flags=(
130
- "--crypted[crypted CLI installation]"
121
+ "--unattended[unattended CLI installation]"
122
+ "--crypted[crypted CLI installation]"
131
123
  "--pve[Proxmox VE install]"
132
124
  "--help[Show CLI help.]"
133
125
  "--verbose[verbose]"
@@ -166,6 +158,13 @@ produce)
166
158
  )
167
159
  ;;
168
160
 
161
+ status)
162
+ _command_flags=(
163
+ "--verbose[]"
164
+ "--help[Show CLI help.]"
165
+ )
166
+ ;;
167
+
169
168
  syncfrom)
170
169
  _command_flags=(
171
170
  "--delete=-[rsync --delete delete extraneous files from dest dirs]:"
@@ -264,15 +263,15 @@ wardrobe:wear)
264
263
  )
265
264
  ;;
266
265
 
267
- autocomplete)
266
+ help)
268
267
  _command_flags=(
269
- "--refresh-cache[Refresh cache (ignores displaying instructions)]"
268
+ "--nested-commands[Include all nested commands in the output.]"
270
269
  )
271
270
  ;;
272
271
 
273
- help)
272
+ autocomplete)
274
273
  _command_flags=(
275
- "--nested-commands[Include all nested commands in the output.]"
274
+ "--refresh-cache[Refresh cache (ignores displaying instructions)]"
276
275
  )
277
276
  ;;
278
277
 
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 --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
- info --verbose --help
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
@@ -37,8 +37,8 @@ wardrobe:ironing --wardrobe --verbose --help
37
37
  wardrobe:list --verbose --help
38
38
  wardrobe:show --wardrobe --json --verbose --help
39
39
  wardrobe:wear --wardrobe --no_accessories --no_firmwares --silent --verbose --help
40
- autocomplete --refresh-cache
41
40
  help --nested-commands
41
+ autocomplete --refresh-cache
42
42
  version --json --verbose
43
43
  "
44
44
 
@@ -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
- "krill" "krill TUI system installer - the egg becomes a chick" \
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
- "krill")
58
- krill ;;
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 info {
232
- eggs info
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 krill {
244
- sudo eggs krill --cli
243
+ function install {
244
+ sudo eggs install
245
245
  press_a_key_to_continue
246
246
  }
247
247
 
Binary file