penguins-eggs 9.2.5 → 9.2.9
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 -0
- package/README.md +34 -30
- package/conf/distros/jessie/krill/settings.yml +48 -9
- package/conf/distros/kinetic/README.md +41 -0
- package/conf/tools.yaml +1 -1
- package/{lib → dist}/classes/bleach.js +0 -0
- package/{lib → dist}/classes/compressors.js +0 -0
- package/{lib → dist}/classes/daddy.js +0 -0
- package/{lib → dist}/classes/distro.js +16 -30
- package/{lib → dist}/classes/family/archlinux.js +0 -0
- package/{lib → dist}/classes/family/debian.js +0 -0
- package/{lib → dist}/classes/family/fedora.js +0 -0
- package/{lib → dist}/classes/family/suse.js +0 -0
- package/{lib → dist}/classes/incubation/branding.js +0 -0
- package/{lib → dist}/classes/incubation/distros/bionic.js +0 -0
- package/{lib → dist}/classes/incubation/distros/buster.js +0 -0
- package/{lib → dist}/classes/incubation/distros/focal.js +0 -0
- package/{lib → dist}/classes/incubation/distros/jessie.js +1 -1
- package/{lib → dist}/classes/incubation/distros/rolling.js +0 -0
- package/{lib → dist}/classes/incubation/fisherman-helper/displaymanager.js +0 -0
- package/{lib → dist}/classes/incubation/fisherman-helper/packages.js +0 -0
- package/{lib → dist}/classes/incubation/fisherman.js +1 -1
- package/{lib → dist}/classes/incubation/incubator.js +9 -19
- package/{lib → dist}/classes/incubation/installer.js +0 -0
- package/{lib → dist}/classes/initrd.js +0 -0
- package/{lib → dist}/classes/keyboards.js +0 -0
- package/{lib → dist}/classes/locales.js +0 -0
- package/{lib → dist}/classes/n8.js +0 -0
- package/dist/classes/network.js +99 -0
- package/{lib → dist}/classes/ovary.js +0 -0
- package/{lib → dist}/classes/pacman.js +16 -1
- package/{lib → dist}/classes/pve-live.js +0 -0
- package/dist/classes/pxe.js +337 -0
- package/{lib → dist}/classes/settings.js +0 -0
- package/{lib → dist}/classes/sources_list.js +0 -0
- package/{lib → dist}/classes/systemctl.js +0 -0
- package/{lib → dist}/classes/tailor.js +0 -0
- package/{lib → dist}/classes/tools.js +0 -0
- package/{lib → dist}/classes/users.js +0 -0
- package/{lib → dist}/classes/utils.js +82 -17
- package/{lib → dist}/classes/xdg.js +24 -26
- package/{lib → dist}/classes/yolk.js +0 -0
- package/{lib → dist}/commands/adapt.js +0 -0
- package/{lib → dist}/commands/analyze.js +0 -0
- package/{lib → dist}/commands/calamares.js +0 -0
- package/{lib → dist}/commands/config.js +0 -0
- package/dist/commands/cuckoo.js +63 -0
- package/{lib → dist}/commands/dad.js +0 -0
- package/{lib → dist}/commands/export/deb.js +0 -0
- package/{lib → dist}/commands/export/docs.js +0 -0
- package/{lib → dist}/commands/export/iso.js +0 -0
- package/{lib → dist}/commands/install.js +27 -4
- package/{lib → dist}/commands/kill.js +0 -0
- package/{lib → dist}/commands/mom.js +0 -0
- package/{lib → dist}/commands/produce.js +0 -0
- package/{lib → dist}/commands/status.js +0 -0
- package/{lib → dist}/commands/syncfrom.js +0 -0
- package/{lib → dist}/commands/syncto.js +0 -0
- package/{lib → dist}/commands/tools/clean.js +0 -0
- package/{lib → dist}/commands/tools/skel.js +0 -0
- package/{lib → dist}/commands/tools/stat.js +0 -0
- package/{lib → dist}/commands/tools/yolk.js +0 -0
- package/{lib → dist}/commands/update.js +0 -0
- package/{lib → dist}/commands/wardrobe/get.js +0 -0
- package/{lib → dist}/commands/wardrobe/ironing.js +0 -0
- package/{lib → dist}/commands/wardrobe/list.js +0 -0
- package/{lib → dist}/commands/wardrobe/show.js +0 -0
- package/{lib → dist}/commands/wardrobe/wear.js +0 -0
- package/{lib → dist}/components/elements/information.js +0 -0
- package/{lib → dist}/components/elements/steps.js +0 -0
- package/{lib → dist}/components/elements/title.js +0 -0
- package/{lib → dist}/components/finished.js +0 -0
- package/{lib → dist}/components/install.js +0 -0
- package/{lib → dist}/components/keyboard.js +0 -0
- package/{lib → dist}/components/location.js +0 -0
- package/{lib → dist}/components/network.js +0 -0
- package/{lib → dist}/components/partitions.js +0 -0
- package/{lib → dist}/components/summary.js +2 -2
- package/{lib → dist}/components/users.js +0 -0
- package/{lib → dist}/components/welcome.js +0 -0
- package/dist/dhcpd/dhcpd.js +222 -0
- package/dist/dhcpd/index.js +7 -0
- package/dist/dhcpd/packet/converters.js +377 -0
- package/dist/dhcpd/packet/options.js +2 -0
- package/dist/dhcpd/packet/types.js +2 -0
- package/dist/dhcpd/packet.js +251 -0
- package/dist/dhcpd/proxy.js +152 -0
- package/dist/dhcpd/server.js +152 -0
- package/dist/dhcpd/sprintf.js +170 -0
- package/dist/dhcpd/utils.js +190 -0
- package/{lib → dist}/index.js +0 -0
- package/{lib → dist}/interfaces/i-addons.js +0 -0
- package/{lib → dist}/interfaces/i-analyze.js +0 -0
- package/{lib → dist}/interfaces/i-app.js +0 -0
- package/{lib → dist}/interfaces/i-branding.js +0 -0
- package/{lib → dist}/interfaces/i-config-tools.js +0 -0
- package/{lib → dist}/interfaces/i-devices.js +0 -0
- package/{lib → dist}/interfaces/i-distro.js +0 -0
- package/{lib → dist}/interfaces/i-drive-list.js +0 -0
- package/{lib → dist}/interfaces/i-eggs-config.js +0 -0
- package/{lib → dist}/interfaces/i-exec.js +0 -0
- package/{lib → dist}/interfaces/i-initrd.js +0 -0
- package/{lib → dist}/interfaces/i-install.js +0 -0
- package/{lib → dist}/interfaces/i-installer.js +0 -0
- package/{lib → dist}/interfaces/i-krill-config.js +0 -0
- package/{lib → dist}/interfaces/i-krill.js +0 -0
- package/{lib → dist}/interfaces/i-materia.js +0 -0
- package/{lib → dist}/interfaces/i-net.js +0 -0
- package/{lib → dist}/interfaces/i-packages.js +0 -0
- package/{lib → dist}/interfaces/i-partitions.js +0 -0
- package/{lib/interfaces/i-remix.js → dist/interfaces/i-pxe-options.js} +0 -0
- package/{lib/interfaces/i-settings.js → dist/interfaces/i-remix.js} +0 -0
- package/{lib/interfaces/i-user.js → dist/interfaces/i-settings.js} +0 -0
- package/{lib/interfaces/i-workdir.js → dist/interfaces/i-user.js} +0 -0
- package/{lib/interfaces/i-xkb-model.js → dist/interfaces/i-workdir.js} +0 -0
- package/{lib/interfaces/index.js → dist/interfaces/i-xkb-model.js} +0 -0
- package/dist/interfaces/index.js +2 -0
- package/{lib → dist}/krill/krill-prepare.js +25 -6
- package/{lib → dist}/krill/krill-sequence.js +69 -77
- package/{lib → dist}/krill/modules/add-user.js +0 -0
- package/{lib → dist}/krill/modules/bootloader-config-ubuntu.js +0 -0
- package/{lib → dist}/krill/modules/bootloader-config.js +1 -1
- package/{lib → dist}/krill/modules/bootloader.js +0 -5
- package/{lib → dist}/krill/modules/change-password.js +0 -0
- package/{lib → dist}/krill/modules/del-live-user.js +0 -0
- package/{lib → dist}/krill/modules/fstab.js +0 -0
- package/{lib → dist}/krill/modules/grubcfg.js +0 -0
- package/dist/krill/modules/hostname.js +48 -0
- package/{lib → dist}/krill/modules/initramfs-cfg.js +0 -0
- package/{lib → dist}/krill/modules/initramfs.js +0 -0
- package/{lib → dist}/krill/modules/locale-cfg.js +0 -0
- package/{lib → dist}/krill/modules/locale.js +1 -1
- package/{lib/krill/modules/set-keyboard.js → dist/krill/modules/m-keyboard.js} +12 -4
- package/{lib/krill/modules/set-timezone.js → dist/krill/modules/m-timezone.js} +2 -2
- package/{lib → dist}/krill/modules/machine-id.js +0 -0
- package/{lib → dist}/krill/modules/mkfs.js +0 -0
- package/{lib → dist}/krill/modules/mount-fs.js +0 -0
- package/{lib → dist}/krill/modules/mount-vfs.js +0 -0
- package/{lib → dist}/krill/modules/network-cfg.js +0 -0
- package/{lib → dist}/krill/modules/packages.js +0 -0
- package/{lib → dist}/krill/modules/partition.js +25 -14
- package/{lib → dist}/krill/modules/remove-installer-link.js +0 -0
- package/{lib → dist}/krill/modules/umount.js +0 -0
- package/{lib → dist}/krill/modules/unpackfs.js +0 -0
- package/{lib → dist}/lib/cli-autologin.js +1 -1
- package/{lib → dist}/lib/dependencies.js +0 -0
- package/{lib → dist}/lib/get_address.js +0 -0
- package/{lib → dist}/lib/get_dns.js +0 -0
- package/{lib → dist}/lib/get_domain.js +0 -0
- package/{lib → dist}/lib/get_gateway.js +0 -0
- package/{lib → dist}/lib/get_hostname.js +0 -0
- package/{lib → dist}/lib/get_netmask.js +0 -0
- package/{lib → dist}/lib/get_password.js +0 -0
- package/{lib → dist}/lib/get_root_password.js +0 -0
- package/{lib → dist}/lib/get_userfullname.js +0 -0
- package/{lib → dist}/lib/get_username.js +0 -0
- package/{lib → dist}/lib/select_address_type.js +0 -0
- package/{lib → dist}/lib/select_filesystem_type.js +0 -0
- package/{lib → dist}/lib/select_installation_device.js +0 -0
- package/{lib → dist}/lib/select_installation_mode.js +0 -0
- package/{lib → dist}/lib/select_interface.js +0 -0
- package/{lib → dist}/lib/select_keyboard_layout.js +0 -0
- package/{lib → dist}/lib/select_keyboard_model.js +0 -0
- package/{lib → dist}/lib/select_keyboard_option.js +0 -0
- package/{lib → dist}/lib/select_keyboard_variant.js +0 -0
- package/{lib → dist}/lib/select_languages.js +0 -0
- package/{lib → dist}/lib/select_regions.js +0 -0
- package/{lib → dist}/lib/select_user_swap_choice.js +0 -0
- package/{lib → dist}/lib/select_zones.js +0 -0
- package/{lib → dist}/lib/utils.js +1 -2
- package/ipxe/ipxe.efi +0 -0
- package/package.json +20 -17
- package/scripts/_eggs +11 -7
- package/scripts/eggs.bash +2 -2
- package/lib/classes/bleach.d.ts +0 -40
- package/lib/classes/compressors.d.ts +0 -24
- package/lib/classes/daddy.d.ts +0 -11
- package/lib/classes/distro.d.ts +0 -31
- package/lib/classes/family/archlinux.d.ts +0 -69
- package/lib/classes/family/debian.d.ts +0 -68
- package/lib/classes/family/fedora.d.ts +0 -63
- package/lib/classes/family/suse.d.ts +0 -63
- package/lib/classes/incubation/branding.d.ts +0 -8
- package/lib/classes/incubation/distros/bionic.d.ts +0 -29
- package/lib/classes/incubation/distros/buster.d.ts +0 -31
- package/lib/classes/incubation/distros/focal.d.ts +0 -29
- package/lib/classes/incubation/distros/jessie.d.ts +0 -32
- package/lib/classes/incubation/distros/rolling.d.ts +0 -31
- package/lib/classes/incubation/fisherman-helper/displaymanager.d.ts +0 -7
- package/lib/classes/incubation/fisherman-helper/packages.d.ts +0 -19
- package/lib/classes/incubation/fisherman.d.ts +0 -77
- package/lib/classes/incubation/incubator.d.ts +0 -35
- package/lib/classes/incubation/installer.d.ts +0 -15
- package/lib/classes/initrd.d.ts +0 -42
- package/lib/classes/keyboards.d.ts +0 -43
- package/lib/classes/locales.d.ts +0 -14
- package/lib/classes/n8.d.ts +0 -16
- package/lib/classes/ovary.d.ts +0 -179
- package/lib/classes/pacman.d.ts +0 -164
- package/lib/classes/pve-live.d.ts +0 -42
- package/lib/classes/pxe.d.ts +0 -64
- package/lib/classes/pxe.js +0 -352
- package/lib/classes/settings.d.ts +0 -55
- package/lib/classes/sources_list.d.ts +0 -27
- package/lib/classes/systemctl.d.ts +0 -46
- package/lib/classes/tailor.d.ts +0 -43
- package/lib/classes/tools.d.ts +0 -29
- package/lib/classes/users.d.ts +0 -21
- package/lib/classes/utils.d.ts +0 -299
- package/lib/classes/xdg.d.ts +0 -44
- package/lib/classes/yolk.d.ts +0 -26
- package/lib/commands/adapt.d.ts +0 -9
- package/lib/commands/analyze.d.ts +0 -25
- package/lib/commands/calamares.d.ts +0 -26
- package/lib/commands/config.d.ts +0 -34
- package/lib/commands/cuckoo.d.ts +0 -24
- package/lib/commands/cuckoo.js +0 -70
- package/lib/commands/dad.d.ts +0 -17
- package/lib/commands/export/deb.d.ts +0 -14
- package/lib/commands/export/docs.d.ts +0 -8
- package/lib/commands/export/iso.d.ts +0 -13
- package/lib/commands/install.d.ts +0 -25
- package/lib/commands/kill.d.ts +0 -20
- package/lib/commands/mom.d.ts +0 -14
- package/lib/commands/produce.d.ts +0 -28
- package/lib/commands/status.d.ts +0 -18
- package/lib/commands/syncfrom.d.ts +0 -42
- package/lib/commands/syncto.d.ts +0 -67
- package/lib/commands/tools/clean.d.ts +0 -15
- package/lib/commands/tools/skel.d.ts +0 -17
- package/lib/commands/tools/stat.d.ts +0 -14
- package/lib/commands/tools/yolk.d.ts +0 -23
- package/lib/commands/update.d.ts +0 -46
- package/lib/commands/wardrobe/get.d.ts +0 -17
- package/lib/commands/wardrobe/ironing.d.ts +0 -18
- package/lib/commands/wardrobe/list.d.ts +0 -17
- package/lib/commands/wardrobe/show.d.ts +0 -19
- package/lib/commands/wardrobe/wear.d.ts +0 -21
- package/lib/components/elements/information.d.ts +0 -4
- package/lib/components/elements/steps.d.ts +0 -6
- package/lib/components/elements/title.d.ts +0 -4
- package/lib/components/finished.d.ts +0 -8
- package/lib/components/install.d.ts +0 -8
- package/lib/components/keyboard.d.ts +0 -12
- package/lib/components/location.d.ts +0 -12
- package/lib/components/network.d.ts +0 -12
- package/lib/components/partitions.d.ts +0 -9
- package/lib/components/summary.d.ts +0 -16
- package/lib/components/users.d.ts +0 -20
- package/lib/components/welcome.d.ts +0 -6
- package/lib/index.d.ts +0 -1
- package/lib/interfaces/i-addons.d.ts +0 -8
- package/lib/interfaces/i-analyze.d.ts +0 -13
- package/lib/interfaces/i-app.d.ts +0 -7
- package/lib/interfaces/i-branding.d.ts +0 -29
- package/lib/interfaces/i-config-tools.d.ts +0 -11
- package/lib/interfaces/i-devices.d.ts +0 -13
- package/lib/interfaces/i-distro.d.ts +0 -19
- package/lib/interfaces/i-drive-list.d.ts +0 -29
- package/lib/interfaces/i-eggs-config.d.ts +0 -24
- package/lib/interfaces/i-exec.d.ts +0 -4
- package/lib/interfaces/i-initrd.d.ts +0 -6
- package/lib/interfaces/i-install.d.ts +0 -9
- package/lib/interfaces/i-installer.d.ts +0 -20
- package/lib/interfaces/i-krill-config.d.ts +0 -26
- package/lib/interfaces/i-krill.d.ts +0 -35
- package/lib/interfaces/i-materia.d.ts +0 -36
- package/lib/interfaces/i-net.d.ts +0 -9
- package/lib/interfaces/i-packages.d.ts +0 -10
- package/lib/interfaces/i-partitions.d.ts +0 -9
- package/lib/interfaces/i-remix.d.ts +0 -14
- package/lib/interfaces/i-settings.d.ts +0 -10
- package/lib/interfaces/i-user.d.ts +0 -7
- package/lib/interfaces/i-workdir.d.ts +0 -8
- package/lib/interfaces/i-xkb-model.d.ts +0 -17
- package/lib/interfaces/index.d.ts +0 -17
- package/lib/krill/krill-prepare.d.ts +0 -60
- package/lib/krill/krill-sequence.d.ts +0 -151
- package/lib/krill/modules/add-user.d.ts +0 -15
- package/lib/krill/modules/bootloader-config-arch.d.ts +0 -9
- package/lib/krill/modules/bootloader-config-arch.js +0 -13
- package/lib/krill/modules/bootloader-config-ubuntu.d.ts +0 -9
- package/lib/krill/modules/bootloader-config.d.ts +0 -9
- package/lib/krill/modules/bootloader.d.ts +0 -10
- package/lib/krill/modules/change-password.d.ts +0 -10
- package/lib/krill/modules/del-live-user.d.ts +0 -9
- package/lib/krill/modules/fstab.d.ts +0 -14
- package/lib/krill/modules/grubcfg.d.ts +0 -17
- package/lib/krill/modules/hostname.d.ts +0 -13
- package/lib/krill/modules/hostname.js +0 -18
- package/lib/krill/modules/hosts.d.ts +0 -14
- package/lib/krill/modules/hosts.js +0 -35
- package/lib/krill/modules/initramfs-cfg.d.ts +0 -14
- package/lib/krill/modules/initramfs.d.ts +0 -13
- package/lib/krill/modules/locale-cfg.d.ts +0 -10
- package/lib/krill/modules/locale.d.ts +0 -13
- package/lib/krill/modules/machine-id.d.ts +0 -15
- package/lib/krill/modules/mkfs.d.ts +0 -13
- package/lib/krill/modules/mount-fs.d.ts +0 -17
- package/lib/krill/modules/mount-vfs.d.ts +0 -17
- package/lib/krill/modules/network-cfg.d.ts +0 -19
- package/lib/krill/modules/packages.d.ts +0 -14
- package/lib/krill/modules/partition.d.ts +0 -20
- package/lib/krill/modules/remove-installer-link.d.ts +0 -13
- package/lib/krill/modules/set-keyboard.d.ts +0 -10
- package/lib/krill/modules/set-timezone.d.ts +0 -14
- package/lib/krill/modules/umount.d.ts +0 -14
- package/lib/krill/modules/unpackfs.d.ts +0 -13
- package/lib/lib/cli-autologin.d.ts +0 -27
- package/lib/lib/dependencies.d.ts +0 -49
- package/lib/lib/get_address.d.ts +0 -1
- package/lib/lib/get_dns.d.ts +0 -1
- package/lib/lib/get_domain.d.ts +0 -1
- package/lib/lib/get_gateway.d.ts +0 -1
- package/lib/lib/get_hostname.d.ts +0 -1
- package/lib/lib/get_netmask.d.ts +0 -1
- package/lib/lib/get_password.d.ts +0 -1
- package/lib/lib/get_root_password.d.ts +0 -1
- package/lib/lib/get_userfullname.d.ts +0 -1
- package/lib/lib/get_username.d.ts +0 -1
- package/lib/lib/select_address_type.d.ts +0 -1
- package/lib/lib/select_filesystem_type.d.ts +0 -1
- package/lib/lib/select_installation_device.d.ts +0 -1
- package/lib/lib/select_installation_mode.d.ts +0 -1
- package/lib/lib/select_interface.d.ts +0 -1
- package/lib/lib/select_keyboard_layout.d.ts +0 -4
- package/lib/lib/select_keyboard_model.d.ts +0 -4
- package/lib/lib/select_keyboard_option.d.ts +0 -4
- package/lib/lib/select_keyboard_variant.d.ts +0 -4
- package/lib/lib/select_languages.d.ts +0 -1
- package/lib/lib/select_regions.d.ts +0 -1
- package/lib/lib/select_user_swap_choice.d.ts +0 -1
- package/lib/lib/select_zones.d.ts +0 -1
- package/lib/lib/utils.d.ts +0 -43
package/lib/commands/cuckoo.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
/**
|
|
5
|
-
* penguins-eggs-v7 based on Debian live
|
|
6
|
-
* author: Piero Proietti
|
|
7
|
-
* email: piero.proietti@gmail.com
|
|
8
|
-
* license: MIT
|
|
9
|
-
*/
|
|
10
|
-
const core_1 = require("@oclif/core");
|
|
11
|
-
const utils_1 = tslib_1.__importDefault(require("../classes/utils"));
|
|
12
|
-
const pacman_1 = tslib_1.__importDefault(require("../classes/pacman"));
|
|
13
|
-
const pxe_1 = tslib_1.__importDefault(require("../classes/pxe"));
|
|
14
|
-
const utils_2 = require("../lib/utils");
|
|
15
|
-
const distro_1 = tslib_1.__importDefault(require("../classes/distro"));
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
class Cuckoo extends core_1.Command {
|
|
20
|
-
constructor() {
|
|
21
|
-
super(...arguments);
|
|
22
|
-
this.config_file = '/etc/penguins-eggs.d/eggs.yaml';
|
|
23
|
-
this.snapshot_dir = '';
|
|
24
|
-
this.work_dir = {};
|
|
25
|
-
}
|
|
26
|
-
async run() {
|
|
27
|
-
utils_1.default.titles(this.id + ' ' + this.argv);
|
|
28
|
-
const { flags } = await this.parse(Cuckoo);
|
|
29
|
-
let verbose = flags.verbose;
|
|
30
|
-
const echo = utils_1.default.setEcho(verbose);
|
|
31
|
-
let real = flags.real;
|
|
32
|
-
const distro = new distro_1.default();
|
|
33
|
-
if (distro.familyId === 'debian') {
|
|
34
|
-
if (utils_1.default.isRoot()) {
|
|
35
|
-
if (!pacman_1.default.packageIsInstalled('dnsmasq') ||
|
|
36
|
-
(!pacman_1.default.packageIsInstalled("pxelinux"))) {
|
|
37
|
-
console.log('eggs cuckoo need to nstall dnsmasq and pxelinux.');
|
|
38
|
-
if (await utils_1.default.customConfirm()) {
|
|
39
|
-
console.log('Installing dnsmasq and pxelinux... wait a moment');
|
|
40
|
-
await (0, utils_2.exec)('sudo apt-get update -y', utils_1.default.setEcho(false));
|
|
41
|
-
await (0, utils_2.exec)('sudo apt-get install dnsmasq pxelinux -y', utils_1.default.setEcho(false));
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
console.log('You need to install dnsmasq to start cuckoo PXE server');
|
|
45
|
-
process.exit();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
const pxe = new pxe_1.default();
|
|
49
|
-
await pxe.fertilization();
|
|
50
|
-
await pxe.build();
|
|
51
|
-
let dnsmasq = true;
|
|
52
|
-
await pxe.dhcp(real, dnsmasq);
|
|
53
|
-
await pxe.httpStart();
|
|
54
|
-
console.log(`Serving PXE boot, read more at: http://${utils_1.default.address()}`);
|
|
55
|
-
console.log(`CTRL-c to quit`);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
console.log(`Sorry: actually cuckoo is enabled just for debian family!`);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
exports.default = Cuckoo;
|
|
64
|
-
Cuckoo.description = 'cuckoo start a PXE boot server serving the live image';
|
|
65
|
-
Cuckoo.flags = {
|
|
66
|
-
real: core_1.Flags.boolean({ char: 'r', description: 'start a real dhcp server' }),
|
|
67
|
-
help: core_1.Flags.help({ char: 'h' }),
|
|
68
|
-
verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' })
|
|
69
|
-
};
|
|
70
|
-
Cuckoo.examples = ['$ sudo eggs cuckoo\nstart a PXE boot server'];
|
package/lib/commands/dad.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs-v8
|
|
3
|
-
* author: Piero Proietti
|
|
4
|
-
* email: piero.proietti@gmail.com
|
|
5
|
-
* license: MIT
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from '@oclif/core';
|
|
8
|
-
export default class Dad extends Command {
|
|
9
|
-
static description: string;
|
|
10
|
-
static flags: {
|
|
11
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
12
|
-
clean: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
13
|
-
default: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
14
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
15
|
-
};
|
|
16
|
-
run(): Promise<void>;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Command } from '@oclif/core';
|
|
2
|
-
export default class ExportDeb extends Command {
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
6
|
-
clean: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
7
|
-
amd64: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
8
|
-
i386: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
9
|
-
armel: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
10
|
-
arm64: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
11
|
-
all: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
12
|
-
};
|
|
13
|
-
run(): Promise<void>;
|
|
14
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
4
|
-
import { Command } from '@oclif/core';
|
|
5
|
-
export default class ExportIso extends Command {
|
|
6
|
-
static description: string;
|
|
7
|
-
static flags: {
|
|
8
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
9
|
-
backup: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
10
|
-
clean: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
11
|
-
};
|
|
12
|
-
run(): Promise<void>;
|
|
13
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs-v7 based on Debian live
|
|
3
|
-
* author: Piero Proietti
|
|
4
|
-
* email: piero.proietti@gmail.com
|
|
5
|
-
* license: MIT
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from '@oclif/core';
|
|
8
|
-
/**
|
|
9
|
-
* Class Krill
|
|
10
|
-
*/
|
|
11
|
-
export default class Install extends Command {
|
|
12
|
-
static flags: {
|
|
13
|
-
unattended: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
14
|
-
crypted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
15
|
-
pve: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
16
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
17
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
18
|
-
};
|
|
19
|
-
static description: string;
|
|
20
|
-
static examples: string[];
|
|
21
|
-
/**
|
|
22
|
-
* Execute
|
|
23
|
-
*/
|
|
24
|
-
run(): Promise<void>;
|
|
25
|
-
}
|
package/lib/commands/kill.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs-v7 based on Debian live
|
|
3
|
-
* author: Piero Proietti
|
|
4
|
-
* email: piero.proietti@gmail.com
|
|
5
|
-
* license: MIT
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from '@oclif/core';
|
|
8
|
-
import { IWorkDir } from '../interfaces/i-workdir';
|
|
9
|
-
export default class Kill extends Command {
|
|
10
|
-
config_file: string;
|
|
11
|
-
snapshot_dir: string;
|
|
12
|
-
work_dir: IWorkDir;
|
|
13
|
-
static description: string;
|
|
14
|
-
static flags: {
|
|
15
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
16
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
17
|
-
};
|
|
18
|
-
static examples: string[];
|
|
19
|
-
run(): Promise<void>;
|
|
20
|
-
}
|
package/lib/commands/mom.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs-v8
|
|
3
|
-
* author: Piero Proietti
|
|
4
|
-
* email: piero.proietti@gmail.com
|
|
5
|
-
* license: MIT
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from '@oclif/core';
|
|
8
|
-
export default class Mom extends Command {
|
|
9
|
-
static description: string;
|
|
10
|
-
static flags: {
|
|
11
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
12
|
-
};
|
|
13
|
-
run(): Promise<void>;
|
|
14
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs-v7 based on Debian live
|
|
3
|
-
* author: Piero Proietti
|
|
4
|
-
* email: piero.proietti@gmail.com
|
|
5
|
-
* license: MIT
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from '@oclif/core';
|
|
8
|
-
export default class Produce extends Command {
|
|
9
|
-
static flags: {
|
|
10
|
-
prefix: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
11
|
-
basename: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
12
|
-
backup: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
13
|
-
clone: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
14
|
-
fast: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
15
|
-
normal: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
16
|
-
max: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
17
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
18
|
-
yolk: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
19
|
-
script: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
20
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
21
|
-
theme: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
22
|
-
addons: import("@oclif/core/lib/interfaces").OptionFlag<string[]>;
|
|
23
|
-
release: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
24
|
-
};
|
|
25
|
-
static description: string;
|
|
26
|
-
static examples: string[];
|
|
27
|
-
run(): Promise<void>;
|
|
28
|
-
}
|
package/lib/commands/status.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* info
|
|
3
|
-
*/
|
|
4
|
-
import { Command } from '@oclif/core';
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
export default class Status extends Command {
|
|
9
|
-
static description: string;
|
|
10
|
-
static flags: {
|
|
11
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
12
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
run(): Promise<void>;
|
|
18
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs-v9
|
|
3
|
-
* author: Piero Proietti
|
|
4
|
-
* email: piero.proietti@gmail.com
|
|
5
|
-
* license: MIT
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from '@oclif/core';
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export default class Syncfrom extends Command {
|
|
12
|
-
verbose: boolean;
|
|
13
|
-
echo: {};
|
|
14
|
-
rootDir: string;
|
|
15
|
-
luksName: string;
|
|
16
|
-
luksFile: string;
|
|
17
|
-
luksDevice: string;
|
|
18
|
-
luksMountpoint: string;
|
|
19
|
-
static description: string;
|
|
20
|
-
static flags: {
|
|
21
|
-
delete: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
22
|
-
file: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
23
|
-
rootdir: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
24
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
25
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
26
|
-
};
|
|
27
|
-
static examples: string[];
|
|
28
|
-
run(): Promise<void>;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @param verbose
|
|
32
|
-
*/
|
|
33
|
-
private restorePrivateData;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
luksOpen(): Promise<void>;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
luksClose(): Promise<void>;
|
|
42
|
-
}
|
package/lib/commands/syncto.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs-v9
|
|
3
|
-
* author: Piero Proietti
|
|
4
|
-
* email: piero.proietti@gmail.com
|
|
5
|
-
* license: MIT
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* syncfrom (restore)
|
|
10
|
-
* --include-from file.list // if only include is provided everything from the list if used to update the system.
|
|
11
|
-
* --exclude-from file-list // it just updates the system
|
|
12
|
-
* --delete
|
|
13
|
-
*
|
|
14
|
-
* If both options are provided then it works as a combination as provided in the link above.
|
|
15
|
-
* https://stackoverflow.com/questions/19296190/rsync-include-from-vs-exclude-from-what-is-the-actual-difference
|
|
16
|
-
*
|
|
17
|
-
* The same logic is applied for the syncto also.
|
|
18
|
-
*
|
|
19
|
-
* On top of all of this the --delete option
|
|
20
|
-
* if needed to be passed so that everything else is removed, but this
|
|
21
|
-
* this should not be available by default
|
|
22
|
-
*/
|
|
23
|
-
import { Command } from '@oclif/core';
|
|
24
|
-
import Users from '../classes/users';
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export default class Syncto extends Command {
|
|
29
|
-
verbose: boolean;
|
|
30
|
-
echo: {};
|
|
31
|
-
luksName: string;
|
|
32
|
-
luksFile: string;
|
|
33
|
-
luksDevice: string;
|
|
34
|
-
luksMountpoint: string;
|
|
35
|
-
static description: string;
|
|
36
|
-
static flags: {
|
|
37
|
-
delete: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
38
|
-
file: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
39
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
40
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
41
|
-
};
|
|
42
|
-
static examples: string[];
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
run(): Promise<void>;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
backup(destDelete?: boolean): Promise<void>;
|
|
51
|
-
/**
|
|
52
|
-
* usersFill
|
|
53
|
-
*/
|
|
54
|
-
usersFill(): Promise<Users[]>;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
luksCreate(): Promise<void>;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
*/
|
|
62
|
-
luksOpen(): Promise<void>;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
luksClose(): Promise<void>;
|
|
67
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs-v7 based on Debian live
|
|
3
|
-
* author: Piero Proietti
|
|
4
|
-
* email: piero.proietti@gmail.com
|
|
5
|
-
* license: MIT
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from '@oclif/core';
|
|
8
|
-
export default class Clean extends Command {
|
|
9
|
-
static description: string;
|
|
10
|
-
static flags: {
|
|
11
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
12
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
13
|
-
};
|
|
14
|
-
run(): Promise<void>;
|
|
15
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs-v7 based on Debian live
|
|
3
|
-
* author: Piero Proietti
|
|
4
|
-
* email: piero.proietti@gmail.com
|
|
5
|
-
* license: MIT
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from '@oclif/core';
|
|
8
|
-
export default class Skel extends Command {
|
|
9
|
-
static description: string;
|
|
10
|
-
static examples: string[];
|
|
11
|
-
static flags: {
|
|
12
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
13
|
-
user: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
14
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
15
|
-
};
|
|
16
|
-
run(): Promise<void>;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Command } from '@oclif/core';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export default class ToolsStat extends Command {
|
|
6
|
-
static description: string;
|
|
7
|
-
static flags: {
|
|
8
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
9
|
-
month: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
10
|
-
year: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
11
|
-
};
|
|
12
|
-
run(): Promise<void>;
|
|
13
|
-
show(start: string, end: string, type?: string): Promise<void>;
|
|
14
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs-v7 based on Debian live
|
|
3
|
-
* author: Piero Proietti
|
|
4
|
-
* email: piero.proietti@gmail.com
|
|
5
|
-
* license: MIT
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from '@oclif/core';
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export default class DevYolk extends Command {
|
|
12
|
-
static description: string;
|
|
13
|
-
static examples: string[];
|
|
14
|
-
static flags: {
|
|
15
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
16
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
17
|
-
};
|
|
18
|
-
static dir: string;
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
run(): Promise<void>;
|
|
23
|
-
}
|
package/lib/commands/update.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs-v7 based on Debian live
|
|
3
|
-
* author: Piero Proietti
|
|
4
|
-
* email: piero.proietti@gmail.com
|
|
5
|
-
* license: MIT
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from '@oclif/core';
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export default class Update extends Command {
|
|
12
|
-
static description: string;
|
|
13
|
-
static examples: string[];
|
|
14
|
-
static flags: {
|
|
15
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
16
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
17
|
-
};
|
|
18
|
-
run(): Promise<void>;
|
|
19
|
-
/**
|
|
20
|
-
* Altrimenti, seleziona il tipo di
|
|
21
|
-
* aggiornamento desiderato
|
|
22
|
-
* indipendentemente dal flag
|
|
23
|
-
*/
|
|
24
|
-
chooseUpdate(): Promise<void>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
chosenDeb(): Promise<string>;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @param aptVersion
|
|
32
|
-
*/
|
|
33
|
-
getFromSources(): void;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
getDebFromManual(): Promise<void>;
|
|
38
|
-
/**
|
|
39
|
-
* download da LAN
|
|
40
|
-
*/
|
|
41
|
-
getDebFromLan(): Promise<void>;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
getDebFromApt(): Promise<void>;
|
|
46
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Command } from '@oclif/core';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export default class Get extends Command {
|
|
6
|
-
static description: string;
|
|
7
|
-
static args: {
|
|
8
|
-
name: string;
|
|
9
|
-
description: string;
|
|
10
|
-
required: boolean;
|
|
11
|
-
}[];
|
|
12
|
-
static flags: {
|
|
13
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
14
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
15
|
-
};
|
|
16
|
-
run(): Promise<void>;
|
|
17
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Command } from '@oclif/core';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export declare class Ironing extends Command {
|
|
6
|
-
static description: string;
|
|
7
|
-
static args: {
|
|
8
|
-
name: string;
|
|
9
|
-
description: string;
|
|
10
|
-
required: boolean;
|
|
11
|
-
}[];
|
|
12
|
-
static flags: {
|
|
13
|
-
wardrobe: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
14
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
15
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
16
|
-
};
|
|
17
|
-
run(): Promise<void>;
|
|
18
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Command } from '@oclif/core';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export default class List extends Command {
|
|
6
|
-
static description: string;
|
|
7
|
-
static args: {
|
|
8
|
-
name: string;
|
|
9
|
-
description: string;
|
|
10
|
-
required: boolean;
|
|
11
|
-
}[];
|
|
12
|
-
static flags: {
|
|
13
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
14
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
15
|
-
};
|
|
16
|
-
run(): Promise<void>;
|
|
17
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Command } from '@oclif/core';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export default class Show extends Command {
|
|
6
|
-
static description: string;
|
|
7
|
-
static args: {
|
|
8
|
-
name: string;
|
|
9
|
-
description: string;
|
|
10
|
-
required: boolean;
|
|
11
|
-
}[];
|
|
12
|
-
static flags: {
|
|
13
|
-
wardrobe: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
14
|
-
json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
15
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
16
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
17
|
-
};
|
|
18
|
-
run(): Promise<void>;
|
|
19
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Command } from '@oclif/core';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export default class Wear extends Command {
|
|
6
|
-
static description: string;
|
|
7
|
-
static args: {
|
|
8
|
-
name: string;
|
|
9
|
-
description: string;
|
|
10
|
-
required: boolean;
|
|
11
|
-
}[];
|
|
12
|
-
static flags: {
|
|
13
|
-
wardrobe: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
14
|
-
no_accessories: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
15
|
-
no_firmwares: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
16
|
-
silent: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
17
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
18
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
19
|
-
};
|
|
20
|
-
run(): Promise<void>;
|
|
21
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare type keyboardProps = {
|
|
3
|
-
keyboardModel?: string;
|
|
4
|
-
keyboardLayout?: string;
|
|
5
|
-
keyboardVariant?: string;
|
|
6
|
-
keyboardOptions?: string;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* modello tastiere da /usr/share/X11/xkb/rules/xorg.xml
|
|
10
|
-
*/
|
|
11
|
-
export default function Keyboard({ keyboardModel, keyboardLayout, keyboardVariant, keyboardOptions }: keyboardProps): JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Location
|
|
3
|
-
*/
|
|
4
|
-
/// <reference types="react" />
|
|
5
|
-
declare type LocationProps = {
|
|
6
|
-
region?: string;
|
|
7
|
-
zone?: string;
|
|
8
|
-
language?: string;
|
|
9
|
-
dateNumbers?: string;
|
|
10
|
-
};
|
|
11
|
-
export default function Location({ region, zone, language, dateNumbers }: LocationProps): JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare type NetworkProps = {
|
|
3
|
-
iface?: string;
|
|
4
|
-
addressType?: string;
|
|
5
|
-
address?: string;
|
|
6
|
-
netmask?: string;
|
|
7
|
-
gateway?: string;
|
|
8
|
-
domain: string;
|
|
9
|
-
dns?: string;
|
|
10
|
-
};
|
|
11
|
-
export default function Network({ iface, addressType, address, netmask, gateway, domain, dns }: NetworkProps): JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare type partitionsProps = {
|
|
3
|
-
installationDevice?: string;
|
|
4
|
-
installationMode?: string;
|
|
5
|
-
filesystemType?: string;
|
|
6
|
-
userSwapChoice?: string;
|
|
7
|
-
};
|
|
8
|
-
export default function Partitions({ installationDevice, installationMode, filesystemType, userSwapChoice }: partitionsProps): JSX.Element;
|
|
9
|
-
export {};
|