penguins-eggs 9.6.15 → 9.6.17
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 +5 -4
- package/conf/README.md +17 -4
- package/dist/classes/daddy.js +6 -6
- package/dist/classes/ovary.js +12 -3
- package/dist/classes/settings.js +6 -4
- package/dist/classes/utils.js +3 -2
- package/dist/commands/calamares.js +10 -10
- package/dist/commands/export/iso.js +2 -0
- package/dist/commands/install.js +2 -1
- package/dist/commands/kill.js +9 -5
- package/dist/components/users.js +12 -10
- package/dist/krill/krill-prepare.js +7 -3
- package/dist/krill/krill-sequence.js +10 -3
- package/dist/krill/modules/hostname.js +11 -3
- package/dist/lib/get_domain.js +1 -1
- package/dist/lib/get_password.js +3 -3
- package/dist/lib/kill_me_softly.js +5 -1
- package/manpages/doc/man/README.md +0 -0
- package/manpages/doc/man/eggs.1.gz +0 -0
- package/manpages/doc/man/eggs.html +667 -0
- package/package.json +1 -1
- package/scripts/_eggs +1 -0
- package/scripts/eggs.bash +1 -1
- package/dist/lib/get_root_password.js +0 -39
package/scripts/_eggs
CHANGED
package/scripts/eggs.bash
CHANGED
|
@@ -20,7 +20,7 @@ dad --clean --default --help --verbose
|
|
|
20
20
|
export:deb --all --clean --help --verbose
|
|
21
21
|
export:iso --clean --checksum --help --verbose
|
|
22
22
|
install --crypted --custom --domain --halt --help --ip --nointeractive --none --pve --random --small --suspend --unattended --verbose
|
|
23
|
-
kill --help --nointeractive --verbose
|
|
23
|
+
kill --help --nointeractive --isos --verbose
|
|
24
24
|
mom --help
|
|
25
25
|
produce --addons --basename --clone --cryptedclone --help --max --nointeractive --noicons --prefix --release --script --standard --theme --verbose --yolk
|
|
26
26
|
status --help --verbose
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* penguins-eggs
|
|
3
|
-
* lib: get_root_password.ts
|
|
4
|
-
* author: Piero Proietti
|
|
5
|
-
* email: piero.proietti@gmail.com
|
|
6
|
-
* license: MIT
|
|
7
|
-
*/
|
|
8
|
-
'use strict';
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
const inquirer = require('inquirer');
|
|
11
|
-
async function geRootPassword(initial) {
|
|
12
|
-
const requireLetterAndNumber = (value) => {
|
|
13
|
-
if (/\w/.test(value) && /\d/.test(value)) {
|
|
14
|
-
return true;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
return new Promise(function (resolve) {
|
|
18
|
-
const questions = [
|
|
19
|
-
{
|
|
20
|
-
type: 'password',
|
|
21
|
-
message: 'Repeat password: ',
|
|
22
|
-
name: 'password',
|
|
23
|
-
default: initial,
|
|
24
|
-
// validate: requireLetterAndNumber,
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
type: 'password',
|
|
28
|
-
message: 'Choose a password to keep your account safe: ',
|
|
29
|
-
name: 'confirmPassword',
|
|
30
|
-
default: initial,
|
|
31
|
-
// validate: requireLetterAndNumber,
|
|
32
|
-
},
|
|
33
|
-
];
|
|
34
|
-
inquirer.prompt(questions).then(function (options) {
|
|
35
|
-
resolve(options.password);
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
exports.default = geRootPassword;
|