penguins-eggs 9.6.15 → 9.6.16
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/commands/export/iso.js +2 -0
- package/dist/commands/kill.js +9 -5
- 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/.oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"9.6.15","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs adapt"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"analyze":{"id":"analyze","description":"analyze for syncto","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs analyze"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"calamares":{"id":"calamares","description":"configure calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs calamares","sudo eggs calamares --install","sudo eggs calamares --install --theme=/path/to/theme","sudo eggs calamares --remove"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and its dependencies","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"policies":{"name":"policies","type":"boolean","char":"p","description":"configure calamares policies","allowNo":false},"release":{"name":"release","type":"boolean","char":"r","description":"release: remove calamares and all its dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","description":"remove calamares and its dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs config","sudo eggs config --clean","sudo eggs config --clean --nointeractive"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"cuckoo":{"id":"cuckoo","description":"PXE start with proxy-dhcp","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs cuckoo"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - TUI configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo dad","sudo dad --clean","sudo dad --default"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"install":{"id":"install","description":"krill: the CLI system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs install","sudo eggs install --unattended --halt","sudo eggs install --custom it"],"flags":{"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"custom":{"name":"custom","type":"option","char":"c","description":"custom unattended configuration","multiple":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"halt":{"name":"halt","type":"boolean","char":"H","description":"Halt the system after installation","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"none":{"name":"none","type":"boolean","char":"N","description":"Swap none: 256M","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs kill"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"mom":{"id":"mom","description":"ask help from mommy - TUI helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs mom"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"produce":{"id":"produce","description":"produce a live image from your system whithout your data","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs produce","sudo eggs produce --standard","sudo eggs produce --max","sudo eggs produce --max --basename=colibri","sudo eggs produce --cryptedclone","sudo eggs produce --clone","sudo eggs produce --basename=colibri","sudo eggs produce --basename=colibri --theme theme --addons adapt"],"flags":{"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"clone":{"name":"clone","type":"boolean","char":"c","description":"clone","allowNo":false},"cryptedclone":{"name":"cryptedclone","type":"boolean","char":"C","description":"crypted clone","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons on desktop","allowNo":false},"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"release":{"name":"release","type":"boolean","description":"release: max compression, remove penguins-eggs and calamares after installation","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"standard":{"name":"standard","type":"boolean","char":"f","description":"standard compression","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false}},"args":[]},"status":{"id":"status","description":"informations about eggs status","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs status"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"syncfrom":{"id":"syncfrom","description":"restore users and user data from a LUKS volumes","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncfrom","sudo eggs syncfrom --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"syncto":{"id":"syncto","description":"saves users and user data in a LUKS volume inside the iso","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncto","sudo eggs syncto --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"update":{"id":"update","description":"update the Penguins' eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs update"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export deb","eggs export deb --clean","eggs export deb --all"],"flags":{"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export iso","eggs export iso --clean"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false},"checksum":{"name":"checksum","type":"boolean","char":"C","description":"export checksums md5 and sha256","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools clean"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:ppa":{"id":"tools:ppa","description":"add/remove repo","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools ppa --add","sudo eggs tools ppa --remove"],"flags":{"add":{"name":"add","type":"boolean","char":"a","description":"add penguins-eggs PPA repository","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove penguins-eggs PPA repository","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools skel","sudo eggs tools skel --user user-to-be-copied"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs tools stat","eggs tools stat --month","eggs tools stat --year"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[]},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools yolk"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"dir":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe get","eggs wardrobe get your-wardrobe"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}]},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe list","eggs wardrobe list your-wardrobe","eggs wardrobe list --distro arch"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"distro":{"name":"distro","type":"option","char":"d","description":"distro","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}]},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}],"example":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"]},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs wardrobe wear duck","sudo eggs wardrobe wear accessories/firmwares","sudo eggs wardrobe wear wagtail/waydroid"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"a","description":"not install accessories","allowNo":false},"no_firmwares":{"name":"no_firmwares","type":"boolean","char":"f","description":"not install firmwares","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}]}}}
|
|
1
|
+
{"version":"9.6.16","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs adapt"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"analyze":{"id":"analyze","description":"analyze for syncto","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs analyze"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"calamares":{"id":"calamares","description":"configure calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs calamares","sudo eggs calamares --install","sudo eggs calamares --install --theme=/path/to/theme","sudo eggs calamares --remove"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and its dependencies","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"policies":{"name":"policies","type":"boolean","char":"p","description":"configure calamares policies","allowNo":false},"release":{"name":"release","type":"boolean","char":"r","description":"release: remove calamares and all its dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","description":"remove calamares and its dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs config","sudo eggs config --clean","sudo eggs config --clean --nointeractive"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"cuckoo":{"id":"cuckoo","description":"PXE start with proxy-dhcp","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs cuckoo"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - TUI configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo dad","sudo dad --clean","sudo dad --default"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"install":{"id":"install","description":"krill: the CLI system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs install","sudo eggs install --unattended --halt","sudo eggs install --custom it"],"flags":{"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"custom":{"name":"custom","type":"option","char":"c","description":"custom unattended configuration","multiple":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"halt":{"name":"halt","type":"boolean","char":"H","description":"Halt the system after installation","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"none":{"name":"none","type":"boolean","char":"N","description":"Swap none: 256M","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs kill"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"isos":{"name":"isos","type":"boolean","char":"i","description":"erase all ISOs on remote mount","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"mom":{"id":"mom","description":"ask help from mommy - TUI helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs mom"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"produce":{"id":"produce","description":"produce a live image from your system whithout your data","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs produce","sudo eggs produce --standard","sudo eggs produce --max","sudo eggs produce --max --basename=colibri","sudo eggs produce --cryptedclone","sudo eggs produce --clone","sudo eggs produce --basename=colibri","sudo eggs produce --basename=colibri --theme theme --addons adapt"],"flags":{"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"clone":{"name":"clone","type":"boolean","char":"c","description":"clone","allowNo":false},"cryptedclone":{"name":"cryptedclone","type":"boolean","char":"C","description":"crypted clone","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons on desktop","allowNo":false},"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"release":{"name":"release","type":"boolean","description":"release: max compression, remove penguins-eggs and calamares after installation","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"standard":{"name":"standard","type":"boolean","char":"f","description":"standard compression","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false}},"args":[]},"status":{"id":"status","description":"informations about eggs status","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs status"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"syncfrom":{"id":"syncfrom","description":"restore users and user data from a LUKS volumes","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncfrom","sudo eggs syncfrom --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"syncto":{"id":"syncto","description":"saves users and user data in a LUKS volume inside the iso","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncto","sudo eggs syncto --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"update":{"id":"update","description":"update the Penguins' eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs update"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export deb","eggs export deb --clean","eggs export deb --all"],"flags":{"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export iso","eggs export iso --clean"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false},"checksum":{"name":"checksum","type":"boolean","char":"C","description":"export checksums md5 and sha256","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools clean"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:ppa":{"id":"tools:ppa","description":"add/remove repo","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools ppa --add","sudo eggs tools ppa --remove"],"flags":{"add":{"name":"add","type":"boolean","char":"a","description":"add penguins-eggs PPA repository","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove penguins-eggs PPA repository","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools skel","sudo eggs tools skel --user user-to-be-copied"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs tools stat","eggs tools stat --month","eggs tools stat --year"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[]},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools yolk"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"dir":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe get","eggs wardrobe get your-wardrobe"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}]},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe list","eggs wardrobe list your-wardrobe","eggs wardrobe list --distro arch"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"distro":{"name":"distro","type":"option","char":"d","description":"distro","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}]},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}],"example":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"]},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs wardrobe wear duck","sudo eggs wardrobe wear accessories/firmwares","sudo eggs wardrobe wear wagtail/waydroid"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"a","description":"not install accessories","allowNo":false},"no_firmwares":{"name":"no_firmwares","type":"boolean","char":"f","description":"not install firmwares","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}]}}}
|
package/README.md
CHANGED
|
@@ -112,12 +112,12 @@ There are more than a way to install eggs as .deb package, the most practical is
|
|
|
112
112
|
The simplest way to install eggs is download the [package eggs](https://sourceforge.net/projects/penguins-eggs/files/DEBS/) from [sourceforge page of the project](https://sourceforge.net/projects/penguins-eggs/) and install it
|
|
113
113
|
|
|
114
114
|
```
|
|
115
|
-
sudo dpkg -i eggs_9.6.
|
|
115
|
+
sudo dpkg -i eggs_9.6.16_amd64.deb
|
|
116
116
|
```
|
|
117
117
|
|
|
118
118
|
or, on a i386 system:
|
|
119
119
|
```
|
|
120
|
-
sudo dpkg -i eggs_9.6.
|
|
120
|
+
sudo dpkg -i eggs_9.6.16_i386.deb
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
Once eggs is installed you can add the [penguins-eggs-ppa](https://pieroproietti.github.io/penguins-eggs-ppa) repository with the command: ```sudo eggs tools ppa --install```
|
|
@@ -146,7 +146,7 @@ sudo apt update && sudo apt install eggs
|
|
|
146
146
|
```
|
|
147
147
|
|
|
148
148
|
### Upgrade eggs
|
|
149
|
-
If you are using penguins-eggs-ppa You can upgrade eggs as others packages just: **sudo apt upgrade**, else simply download new versions of eggs from [sourgeforge page](https://sourceforge.net/projects/penguins-eggs/files/DEBS/) and install it with the standard command **sudo dpkg -i eggs_9.6.
|
|
149
|
+
If you are using penguins-eggs-ppa You can upgrade eggs as others packages just: **sudo apt upgrade**, else simply download new versions of eggs from [sourgeforge page](https://sourceforge.net/projects/penguins-eggs/files/DEBS/) and install it with the standard command **sudo dpkg -i eggs_9.6.16_amd64.deb** or **gdebi eggs_9.6.16_i386.deb**.
|
|
150
150
|
|
|
151
151
|
## Arch families
|
|
152
152
|
eggs has been present in [AUR](https://aur.archlinux.org/) for a long time, even without my knowledge thanks the support of Arch peoples. I am currently directly maintaining the AUR version of [penguins-eggs](https://aur.archlinux.org/packages/penguins-eggs) and I'm participating in the [Manjaro Community Repository](https://gitlab.manjaro.org/packages/community/penguins-eggs).
|
|
@@ -447,7 +447,7 @@ USAGE
|
|
|
447
447
|
|
|
448
448
|
FLAGS
|
|
449
449
|
-c, --clean delete old ISOs before to copy
|
|
450
|
-
-C --checksum export checksums md5 and sha256
|
|
450
|
+
-C, --checksum export checksums md5 and sha256
|
|
451
451
|
-h, --help Show CLI help.
|
|
452
452
|
-v, --verbose verbose
|
|
453
453
|
|
|
@@ -527,6 +527,7 @@ USAGE
|
|
|
527
527
|
|
|
528
528
|
FLAGS
|
|
529
529
|
-h, --help Show CLI help.
|
|
530
|
+
-i, --isos erase all ISOs on remote mount
|
|
530
531
|
-n, --nointeractive no user interaction
|
|
531
532
|
-v, --verbose verbose
|
|
532
533
|
|
package/conf/README.md
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
# Penguins' eggs
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
FROM eggs v9.6.16 I changed a bit, hide mnt to .mnt, and create links to iso and filesystem.squashfs on the nest. Re have a more logic structure, build on the provious one, unchanged.
|
|
4
|
+
|
|
5
|
+
## nest (/home/eggs)
|
|
6
|
+
|
|
7
|
+
* iso -> .mnt/iso
|
|
8
|
+
* livefs -> .mnt/filesystem.squashfs
|
|
9
|
+
* ovarium
|
|
10
|
+
* README.md
|
|
11
|
+
* egg-of_image.iso
|
|
12
|
+
* egg-of_image.md5
|
|
13
|
+
* egg-of_image.sha256
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
Under the hood all remain unchanged, but the importants things now are more visible.
|
|
17
|
+
|
|
18
|
+
## .mnt
|
|
4
19
|
* efi-work
|
|
5
20
|
* filesystem.squashfs
|
|
6
21
|
* iso
|
|
@@ -35,7 +50,7 @@ You already knw boot and efi, are necessary for UEFI and consist in the copy of
|
|
|
35
50
|
* mkisofs
|
|
36
51
|
* mksquashfs
|
|
37
52
|
* ubind
|
|
38
|
-
* .overlay
|
|
53
|
+
* .overlay (moved under nest 2023-11-21)
|
|
39
54
|
|
|
40
55
|
## Customize your image before to generate it
|
|
41
56
|
if you want more control on the production of your iso, try the new --dry flag, it's instantaneous: will generate filesystem directory, iso structure complete and the related scripts to bind/ubind filesystem, squash it and create iso.
|
|
@@ -50,5 +65,3 @@ if you want more control on the production of your iso, try the new --dry flag,
|
|
|
50
65
|
Feel free to contact me for any suggestions.
|
|
51
66
|
|
|
52
67
|
https://github.com/pieroproietti/penguins-eggs
|
|
53
|
-
|
|
54
|
-
|
package/dist/classes/daddy.js
CHANGED
|
@@ -68,12 +68,12 @@ class Daddy {
|
|
|
68
68
|
console.log();
|
|
69
69
|
console.log(chalk_1.default.cyan(`If you don't have enough space to remaster, you can mount`));
|
|
70
70
|
console.log(chalk_1.default.cyan(`some remote or local space. Follow the samples:`));
|
|
71
|
-
console.log(chalk_1.default.cyan(
|
|
72
|
-
console.log(chalk_1.default.white(`sudo mkdir /home/eggs
|
|
73
|
-
console.log(chalk_1.default.cyan(
|
|
74
|
-
console.log(chalk_1.default.white(`sudo sshfs -o allow_other root@192.168.1.2:/zfs/iso /home/eggs
|
|
75
|
-
console.log(chalk_1.default.cyan('or, a local partition'));
|
|
76
|
-
console.log(chalk_1.default.white(`sudo mount /dev/sdx1 /home/eggs
|
|
71
|
+
console.log(chalk_1.default.cyan(`- first, create an hidden mountpoint under the nest:`));
|
|
72
|
+
console.log(chalk_1.default.white(`sudo mkdir /home/eggs/.mnt -p`));
|
|
73
|
+
console.log(chalk_1.default.cyan(`- then, mount remote space:`));
|
|
74
|
+
console.log(chalk_1.default.white(`sudo sshfs -o allow_other root@192.168.1.2:/zfs/iso /home/eggs/.mnt`));
|
|
75
|
+
console.log(chalk_1.default.cyan('- or, mount a local partition:'));
|
|
76
|
+
console.log(chalk_1.default.white(`sudo mount /dev/sdx1 /home/eggs/.mnt`));
|
|
77
77
|
console.log();
|
|
78
78
|
console.log(chalk_1.default.cyan('More help? ') + chalk_1.default.white('eggs mom'));
|
|
79
79
|
// await exec(`cat /etc/penguins-eggs.d/eggs.yaml`)
|
package/dist/classes/ovary.js
CHANGED
|
@@ -261,7 +261,6 @@ class Ovary {
|
|
|
261
261
|
if (this.verbose) {
|
|
262
262
|
console.log('Ovary: liveCreateStructure');
|
|
263
263
|
}
|
|
264
|
-
// efi-work iso memdiskDir sotto mountpoint
|
|
265
264
|
utils_2.default.warning(`Creating egg in ${this.settings.config.snapshot_dir}`);
|
|
266
265
|
let cmd;
|
|
267
266
|
if (!fs_1.default.existsSync(this.settings.config.snapshot_dir)) {
|
|
@@ -272,6 +271,11 @@ class Ovary {
|
|
|
272
271
|
cmd = `cp ${node_path_1.default.resolve(__dirname, '../../conf/README.md')} ${this.settings.config.snapshot_dir}README.md`;
|
|
273
272
|
this.tryCatch(cmd);
|
|
274
273
|
}
|
|
274
|
+
// Ovarium
|
|
275
|
+
if (!fs_1.default.existsSync(this.settings.work_dir.ovarium)) {
|
|
276
|
+
cmd = `mkdir -p ${this.settings.work_dir.ovarium}`;
|
|
277
|
+
this.tryCatch(cmd);
|
|
278
|
+
}
|
|
275
279
|
if (!fs_1.default.existsSync(this.settings.work_dir.lowerdir)) {
|
|
276
280
|
cmd = `mkdir -p ${this.settings.work_dir.lowerdir}`;
|
|
277
281
|
this.tryCatch(cmd);
|
|
@@ -301,6 +305,12 @@ class Ovary {
|
|
|
301
305
|
cmd = `mkdir -p ${this.settings.iso_work}live`;
|
|
302
306
|
this.tryCatch(cmd);
|
|
303
307
|
}
|
|
308
|
+
// ln iso
|
|
309
|
+
cmd = `ln -s ${this.settings.iso_work} ${this.settings.config.snapshot_dir}/iso`;
|
|
310
|
+
this.tryCatch(cmd);
|
|
311
|
+
// ln livefs
|
|
312
|
+
cmd = `ln -s ${this.settings.work_dir.merged} ${this.settings.config.snapshot_dir}/livefs`;
|
|
313
|
+
this.tryCatch(cmd);
|
|
304
314
|
}
|
|
305
315
|
/**
|
|
306
316
|
*
|
|
@@ -1490,7 +1500,7 @@ class Ovary {
|
|
|
1490
1500
|
let text = `# Created at: ${utils_2.default.formatDate(new Date())}\n`;
|
|
1491
1501
|
text += `# penguins_eggs v. ${utils_2.default.getPackageVersion()}\n`;
|
|
1492
1502
|
// .disk/info
|
|
1493
|
-
fs_1.default.writeFileSync(dotDisk + '/info',
|
|
1503
|
+
fs_1.default.writeFileSync(dotDisk + '/info', text, 'utf-8');
|
|
1494
1504
|
// .disk/mksquashfs
|
|
1495
1505
|
fs_1.default.writeFileSync(dotDisk + '/mksquashfs', text + mksquashfs, 'utf-8');
|
|
1496
1506
|
// .disk/mkisofs
|
|
@@ -1660,7 +1670,6 @@ class Ovary {
|
|
|
1660
1670
|
if (this.verbose) {
|
|
1661
1671
|
console.log('Ovary: makeIso');
|
|
1662
1672
|
}
|
|
1663
|
-
//Utils.writeX(`${this.settings.config.snapshot_dir}mkisofs`, cmd)
|
|
1664
1673
|
utils_2.default.writeX(`${this.settings.work_dir.ovarium}mkisofs`, cmd);
|
|
1665
1674
|
if (!scriptOnly) {
|
|
1666
1675
|
const test = (await (0, utils_1.exec)(cmd, utils_2.default.setEcho(true))).code;
|
package/dist/classes/settings.js
CHANGED
|
@@ -75,13 +75,15 @@ class Settings {
|
|
|
75
75
|
this.config.snapshot_dir += '/';
|
|
76
76
|
}
|
|
77
77
|
this.work_dir.ovarium = this.config.snapshot_dir + 'ovarium/';
|
|
78
|
-
|
|
79
|
-
this.
|
|
80
|
-
this.work_dir.workdir = this.work_dir.ovarium + '.overlay/workdir';
|
|
81
|
-
this.config.snapshot_mnt = this.config.snapshot_dir + 'mnt/';
|
|
78
|
+
// hidden .mnt under nest
|
|
79
|
+
this.config.snapshot_mnt = this.config.snapshot_dir + '.mnt/';
|
|
82
80
|
if (!this.config.snapshot_mnt.endsWith('/')) {
|
|
83
81
|
this.config.snapshot_mnt += '/';
|
|
84
82
|
}
|
|
83
|
+
// hidden .overlay under nest was under ovarium
|
|
84
|
+
this.work_dir.lowerdir = this.config.snapshot_dir + '.overlay/lowerdir';
|
|
85
|
+
this.work_dir.upperdir = this.config.snapshot_dir + '.overlay/upperdir';
|
|
86
|
+
this.work_dir.workdir = this.config.snapshot_dir + '.overlay/workdir';
|
|
85
87
|
this.work_dir.merged = this.config.snapshot_mnt + 'filesystem.squashfs';
|
|
86
88
|
this.efi_work = this.config.snapshot_mnt + 'efi-work/';
|
|
87
89
|
this.iso_work = this.config.snapshot_mnt + 'iso/';
|
|
@@ -39,6 +39,8 @@ class ExportIso extends core_1.Command {
|
|
|
39
39
|
if (!flags.verbose) {
|
|
40
40
|
if (flags.clean) {
|
|
41
41
|
console.log(`remove ${Tu.config.remoteUser}@${Tu.config.remoteHost}:${Tu.config.remotePathIso}${Tu.snapshot_name}${filters[0]}`);
|
|
42
|
+
}
|
|
43
|
+
if (flags.checksum) {
|
|
42
44
|
console.log(`export ${Tu.config.localPathIso}/${Tu.snapshot_name}${filters[1]}/${filters[2]} to ${Tu.config.remoteUser}@${Tu.config.remoteHost}:${Tu.config.remotePathIso}`);
|
|
43
45
|
}
|
|
44
46
|
console.log(`scp ${Tu.config.localPathIso}/${Tu.snapshot_name}${filters[0]} ${Tu.config.remoteUser}@${Tu.config.remoteHost}:${Tu.config.remotePathIso}`);
|
package/dist/commands/kill.js
CHANGED
|
@@ -24,18 +24,21 @@ class Kill extends core_1.Command {
|
|
|
24
24
|
async run() {
|
|
25
25
|
utils_1.default.titles(this.id + ' ' + this.argv);
|
|
26
26
|
const { flags } = await this.parse(Kill);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
verbose = true;
|
|
30
|
-
}
|
|
27
|
+
const verbose = flags.verbose;
|
|
28
|
+
const isos = flags.isos;
|
|
31
29
|
const nointeractive = flags.nointeractive;
|
|
32
30
|
const echo = utils_1.default.setEcho(verbose);
|
|
33
31
|
if (utils_1.default.isRoot()) {
|
|
34
32
|
const settings = new settings_1.default();
|
|
35
33
|
await settings.load();
|
|
36
34
|
await settings.listFreeSpace();
|
|
35
|
+
if (utils_1.default.isMountpoint(settings.config.snapshot_mnt)) {
|
|
36
|
+
console.log('==========================================');
|
|
37
|
+
utils_1.default.warning('You are working on a mountpoint');
|
|
38
|
+
console.log('==========================================');
|
|
39
|
+
}
|
|
37
40
|
if (nointeractive || await utils_1.default.customConfirm()) {
|
|
38
|
-
await (0, kill_me_softly_1.default)(settings.config.snapshot_dir, settings.config.snapshot_mnt);
|
|
41
|
+
await (0, kill_me_softly_1.default)(settings.config.snapshot_dir, settings.config.snapshot_mnt, isos);
|
|
39
42
|
}
|
|
40
43
|
}
|
|
41
44
|
else {
|
|
@@ -46,6 +49,7 @@ class Kill extends core_1.Command {
|
|
|
46
49
|
Kill.flags = {
|
|
47
50
|
help: core_1.Flags.help({ char: 'h' }),
|
|
48
51
|
nointeractive: core_1.Flags.boolean({ char: 'n', description: 'no user interaction' }),
|
|
52
|
+
isos: core_1.Flags.boolean({ char: 'i', description: 'erase all ISOs on remote mount' }),
|
|
49
53
|
verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' }),
|
|
50
54
|
};
|
|
51
55
|
Kill.description = 'kill the eggs/free the nest';
|
|
@@ -14,7 +14,7 @@ const utils_2 = require("./utils");
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
|
-
async function killMeSoftly(eggsRoot = `/home/eggs`, eggsMnt = '/home/eggs
|
|
17
|
+
async function killMeSoftly(eggsRoot = `/home/eggs`, eggsMnt = '/home/eggs/.mnt', isos = false) {
|
|
18
18
|
const echo = utils_1.default.setEcho(false);
|
|
19
19
|
const liveFs = `${eggsMnt}filesystem.squashfs`;
|
|
20
20
|
/**
|
|
@@ -33,6 +33,10 @@ async function killMeSoftly(eggsRoot = `/home/eggs`, eggsMnt = '/home/eggs/mnt')
|
|
|
33
33
|
await (0, utils_2.exec)(`rm -rf ${eggsMnt}iso`);
|
|
34
34
|
await (0, utils_2.exec)(`rm -rf ${eggsMnt}memdiskDir`);
|
|
35
35
|
await (0, utils_2.exec)(`rm -rf ${eggsRoot}ovarium`);
|
|
36
|
+
// Remove all ISOs if --isos
|
|
37
|
+
if (isos) {
|
|
38
|
+
await (0, utils_2.exec)(`rm -rf ${eggsMnt}*.iso`);
|
|
39
|
+
}
|
|
36
40
|
// double check !haveBindedDirs
|
|
37
41
|
if (!haveBindedDirs(liveFs)) {
|
|
38
42
|
await (0, utils_2.exec)(`rm -rf ${liveFs}`);
|
|
File without changes
|
|
Binary file
|
|
@@ -0,0 +1,667 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>eggs</title>
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
+
</head>
|
|
8
|
+
<body>
|
|
9
|
+
<h1>eggs(1) -- the reproductive system of penguins: eggs v9.6.16</h1>
|
|
10
|
+
<h1>SYNOPSIS</h1>
|
|
11
|
+
<p>Install Debian families (debian/devuan/ubuntu)</p>
|
|
12
|
+
<pre><code>$ sudo dpkg -i eggs_9.6.16_amd64.deb
|
|
13
|
+
</code></pre>
|
|
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)
|
|
32
|
+
|
|
33
|
+
penguins-eggs/9.6.16 linux-x64 node-v18.17.1
|
|
34
|
+
$ eggs --help [COMMAND]
|
|
35
|
+
|
|
36
|
+
USAGE
|
|
37
|
+
$ eggs COMMAND
|
|
38
|
+
</code></pre>
|
|
39
|
+
<p>Most of the commands of eggs need sudo, but there are exceptions for export, info and mom.</p>
|
|
40
|
+
<p>examples:</p>
|
|
41
|
+
<pre><code>sudo eggs produce --fast
|
|
42
|
+
sudo eggs produce --fast --clone
|
|
43
|
+
sudo eggs produce --fast --backup
|
|
44
|
+
sudo eggs kill
|
|
45
|
+
</code></pre>
|
|
46
|
+
<p>There are too, two interactive helpers:</p>
|
|
47
|
+
<pre><code>eggs mom
|
|
48
|
+
sudo eggs dad
|
|
49
|
+
sudo eggs dad -d
|
|
50
|
+
</code></pre>
|
|
51
|
+
<p>Help yorself signing on telegram https://t.me/penguins_eggs or in facebook group page or asking me.</p>
|
|
52
|
+
<h1>DESCRIPTION</h1>
|
|
53
|
+
<p>eggs is a console utility, in active development, who let you to remaster your system and redistribuite it as iso image.</p>
|
|
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>
|
|
55
|
+
<h1>COMMANDS</h1>
|
|
56
|
+
<ul>
|
|
57
|
+
<li><a href="#eggs-adapt"><code>eggs adapt</code></a></li>
|
|
58
|
+
<li><a href="#eggs-analyze"><code>eggs analyze</code></a></li>
|
|
59
|
+
<li><a href="#eggs-autocomplete-shell"><code>eggs autocomplete [SHELL]</code></a></li>
|
|
60
|
+
<li><a href="#eggs-calamares"><code>eggs calamares</code></a></li>
|
|
61
|
+
<li><a href="#eggs-config"><code>eggs config</code></a></li>
|
|
62
|
+
<li><a href="#eggs-cuckoo"><code>eggs cuckoo</code></a></li>
|
|
63
|
+
<li><a href="#eggs-dad"><code>eggs dad</code></a></li>
|
|
64
|
+
<li><a href="#eggs-export-deb"><code>eggs export deb</code></a></li>
|
|
65
|
+
<li><a href="#eggs-export-iso"><code>eggs export iso</code></a></li>
|
|
66
|
+
<li><a href="#eggs-help-command"><code>eggs help [COMMAND]</code></a></li>
|
|
67
|
+
<li><a href="#eggs-install"><code>eggs install</code></a></li>
|
|
68
|
+
<li><a href="#eggs-kill"><code>eggs kill</code></a></li>
|
|
69
|
+
<li><a href="#eggs-mom"><code>eggs mom</code></a></li>
|
|
70
|
+
<li><a href="#eggs-produce"><code>eggs produce</code></a></li>
|
|
71
|
+
<li><a href="#eggs-status"><code>eggs status</code></a></li>
|
|
72
|
+
<li><a href="#eggs-syncfrom"><code>eggs syncfrom</code></a></li>
|
|
73
|
+
<li><a href="#eggs-syncto"><code>eggs syncto</code></a></li>
|
|
74
|
+
<li><a href="#eggs-tools-clean"><code>eggs tools clean</code></a></li>
|
|
75
|
+
<li><a href="#eggs-tools-ppa"><code>eggs tools ppa</code></a></li>
|
|
76
|
+
<li><a href="#eggs-tools-skel"><code>eggs tools skel</code></a></li>
|
|
77
|
+
<li><a href="#eggs-tools-stat"><code>eggs tools stat</code></a></li>
|
|
78
|
+
<li><a href="#eggs-tools-yolk"><code>eggs tools yolk</code></a></li>
|
|
79
|
+
<li><a href="#eggs-update"><code>eggs update</code></a></li>
|
|
80
|
+
<li><a href="#eggs-version"><code>eggs version</code></a></li>
|
|
81
|
+
<li><a href="#eggs-wardrobe-get-repo"><code>eggs wardrobe get [REPO]</code></a></li>
|
|
82
|
+
<li><a href="#eggs-wardrobe-list-wardrobe"><code>eggs wardrobe list [WARDROBE]</code></a></li>
|
|
83
|
+
<li><a href="#eggs-wardrobe-show-costume"><code>eggs wardrobe show [COSTUME]</code></a></li>
|
|
84
|
+
<li><a href="#eggs-wardrobe-wear-costume"><code>eggs wardrobe wear [COSTUME]</code></a></li>
|
|
85
|
+
</ul>
|
|
86
|
+
<h2><code>eggs adapt</code></h2>
|
|
87
|
+
<p>adapt monitor resolution for VM only</p>
|
|
88
|
+
<pre><code>USAGE
|
|
89
|
+
$ eggs adapt [-h] [-v]
|
|
90
|
+
|
|
91
|
+
FLAGS
|
|
92
|
+
-h, --help Show CLI help.
|
|
93
|
+
-v, --verbose
|
|
94
|
+
|
|
95
|
+
DESCRIPTION
|
|
96
|
+
adapt monitor resolution for VM only
|
|
97
|
+
|
|
98
|
+
EXAMPLES
|
|
99
|
+
$ eggs adapt
|
|
100
|
+
</code></pre>
|
|
101
|
+
<h2><code>eggs analyze</code></h2>
|
|
102
|
+
<p>analyze for syncto</p>
|
|
103
|
+
<pre><code>USAGE
|
|
104
|
+
$ eggs analyze [-h] [-v]
|
|
105
|
+
|
|
106
|
+
FLAGS
|
|
107
|
+
-h, --help Show CLI help.
|
|
108
|
+
-v, --verbose verbose
|
|
109
|
+
|
|
110
|
+
DESCRIPTION
|
|
111
|
+
analyze for syncto
|
|
112
|
+
|
|
113
|
+
EXAMPLES
|
|
114
|
+
sudo eggs analyze
|
|
115
|
+
</code></pre>
|
|
116
|
+
<h2><code>eggs autocomplete [SHELL]</code></h2>
|
|
117
|
+
<p>display autocomplete installation instructions</p>
|
|
118
|
+
<pre><code>USAGE
|
|
119
|
+
$ eggs autocomplete [SHELL] [-r]
|
|
120
|
+
|
|
121
|
+
ARGUMENTS
|
|
122
|
+
SHELL shell type
|
|
123
|
+
|
|
124
|
+
FLAGS
|
|
125
|
+
-r, --refresh-cache Refresh cache (ignores displaying instructions)
|
|
126
|
+
|
|
127
|
+
DESCRIPTION
|
|
128
|
+
display autocomplete installation instructions
|
|
129
|
+
|
|
130
|
+
EXAMPLES
|
|
131
|
+
$ eggs autocomplete
|
|
132
|
+
|
|
133
|
+
$ eggs autocomplete bash
|
|
134
|
+
|
|
135
|
+
$ eggs autocomplete zsh
|
|
136
|
+
|
|
137
|
+
$ eggs autocomplete --refresh-cache
|
|
138
|
+
</code></pre>
|
|
139
|
+
<h2><code>eggs calamares</code></h2>
|
|
140
|
+
<p>configure calamares or install or configure it</p>
|
|
141
|
+
<pre><code>USAGE
|
|
142
|
+
$ eggs calamares [-h] [-i] [-n] [-r] [--remove] [--theme <value>] [-v]
|
|
143
|
+
|
|
144
|
+
FLAGS
|
|
145
|
+
-h, --help Show CLI help.
|
|
146
|
+
-i, --install install calamares and its dependencies
|
|
147
|
+
-n, --nointeractive no user interaction
|
|
148
|
+
-p, --policies configure calamares policies
|
|
149
|
+
-r, --release release: remove calamares and all its dependencies after the installation
|
|
150
|
+
-v, --verbose
|
|
151
|
+
--remove remove calamares and its dependencies
|
|
152
|
+
--theme=<value> theme/branding for eggs and calamares
|
|
153
|
+
|
|
154
|
+
DESCRIPTION
|
|
155
|
+
configure calamares or install or configure it
|
|
156
|
+
|
|
157
|
+
EXAMPLES
|
|
158
|
+
sudo eggs calamares
|
|
159
|
+
|
|
160
|
+
sudo eggs calamares --install
|
|
161
|
+
|
|
162
|
+
sudo eggs calamares --install --theme=/path/to/theme
|
|
163
|
+
|
|
164
|
+
sudo eggs calamares --remove
|
|
165
|
+
</code></pre>
|
|
166
|
+
<h2><code>eggs config</code></h2>
|
|
167
|
+
<p>Configure and install prerequisites deb packages to run it</p>
|
|
168
|
+
<pre><code>USAGE
|
|
169
|
+
$ eggs config [-c] [-h] [-n] [-v]
|
|
170
|
+
|
|
171
|
+
FLAGS
|
|
172
|
+
-c, --clean remove old configuration before to create new one
|
|
173
|
+
-h, --help Show CLI help.
|
|
174
|
+
-n, --nointeractive no user interaction
|
|
175
|
+
-N, --noicons no icons
|
|
176
|
+
|
|
177
|
+
DESCRIPTION
|
|
178
|
+
Configure and install prerequisites deb packages to run it
|
|
179
|
+
|
|
180
|
+
EXAMPLES
|
|
181
|
+
sudo eggs config
|
|
182
|
+
|
|
183
|
+
sudo eggs config --clean
|
|
184
|
+
|
|
185
|
+
sudo eggs config --clean --nointeractive
|
|
186
|
+
</code></pre>
|
|
187
|
+
<h2><code>eggs cuckoo</code></h2>
|
|
188
|
+
<p>PXE start with proxy-dhcp</p>
|
|
189
|
+
<pre><code>USAGE
|
|
190
|
+
$ eggs cuckoo [-h]
|
|
191
|
+
|
|
192
|
+
FLAGS
|
|
193
|
+
-h, --help Show CLI help.
|
|
194
|
+
|
|
195
|
+
DESCRIPTION
|
|
196
|
+
PXE start with proxy-dhcp
|
|
197
|
+
|
|
198
|
+
EXAMPLES
|
|
199
|
+
sudo eggs cuckoo
|
|
200
|
+
</code></pre>
|
|
201
|
+
<h2><code>eggs dad</code></h2>
|
|
202
|
+
<p>ask help from daddy - TUI configuration helper</p>
|
|
203
|
+
<pre><code>USAGE
|
|
204
|
+
$ eggs dad [-c] [-d] [-h] [-v]
|
|
205
|
+
|
|
206
|
+
FLAGS
|
|
207
|
+
-c, --clean remove old configuration before to create
|
|
208
|
+
-d, --default remove old configuration and force default
|
|
209
|
+
-h, --help Show CLI help.
|
|
210
|
+
-v, --verbose
|
|
211
|
+
|
|
212
|
+
DESCRIPTION
|
|
213
|
+
ask help from daddy - TUI configuration helper
|
|
214
|
+
|
|
215
|
+
EXAMPLES
|
|
216
|
+
sudo dad
|
|
217
|
+
|
|
218
|
+
sudo dad --clean
|
|
219
|
+
|
|
220
|
+
sudo dad --default
|
|
221
|
+
</code></pre>
|
|
222
|
+
<h2><code>eggs export deb</code></h2>
|
|
223
|
+
<p>export deb/docs/iso to the destination host</p>
|
|
224
|
+
<pre><code>USAGE
|
|
225
|
+
$ eggs export deb [-a] [-c] [-h] [-v]
|
|
226
|
+
|
|
227
|
+
FLAGS
|
|
228
|
+
-a, --all export all archs
|
|
229
|
+
-c, --clean remove old .deb before to copy
|
|
230
|
+
-h, --help Show CLI help.
|
|
231
|
+
-v, --verbose verbose
|
|
232
|
+
|
|
233
|
+
DESCRIPTION
|
|
234
|
+
export deb/docs/iso to the destination host
|
|
235
|
+
|
|
236
|
+
EXAMPLES
|
|
237
|
+
$ eggs export deb
|
|
238
|
+
|
|
239
|
+
$ eggs export deb --clean
|
|
240
|
+
|
|
241
|
+
$ eggs export deb --all
|
|
242
|
+
</code></pre>
|
|
243
|
+
<h2><code>eggs export iso</code></h2>
|
|
244
|
+
<p>export iso in the destination host</p>
|
|
245
|
+
<pre><code>USAGE
|
|
246
|
+
$ eggs export iso [-c] [-h] [-v]
|
|
247
|
+
|
|
248
|
+
FLAGS
|
|
249
|
+
-c, --clean delete old ISOs before to copy
|
|
250
|
+
-C, --checksum export checksums md5 and sha256
|
|
251
|
+
-h, --help Show CLI help.
|
|
252
|
+
-v, --verbose verbose
|
|
253
|
+
|
|
254
|
+
DESCRIPTION
|
|
255
|
+
export iso in the destination host
|
|
256
|
+
|
|
257
|
+
EXAMPLES
|
|
258
|
+
$ eggs export iso
|
|
259
|
+
|
|
260
|
+
$ eggs export iso --clean
|
|
261
|
+
</code></pre>
|
|
262
|
+
<h2><code>eggs help [COMMAND]</code></h2>
|
|
263
|
+
<p>Display help for eggs.</p>
|
|
264
|
+
<pre><code>USAGE
|
|
265
|
+
$ eggs help [COMMAND] [-n]
|
|
266
|
+
|
|
267
|
+
ARGUMENTS
|
|
268
|
+
COMMAND Command to show help for.
|
|
269
|
+
|
|
270
|
+
FLAGS
|
|
271
|
+
-n, --nested-commands Include all nested commands in the output.
|
|
272
|
+
|
|
273
|
+
DESCRIPTION
|
|
274
|
+
Display help for eggs.
|
|
275
|
+
</code></pre>
|
|
276
|
+
<h2><code>eggs install</code></h2>
|
|
277
|
+
<p>krill: the CLI system installer - the egg became a penguin!</p>
|
|
278
|
+
<pre><code>USAGE
|
|
279
|
+
$ eggs install [-k] [-c <value>] [-d <value>] [-H] [-h] [-i] [-n] [-N] [-p] [-r] [-s] [-S] [-u] [-v]
|
|
280
|
+
|
|
281
|
+
FLAGS
|
|
282
|
+
-H, --halt Halt the system after installation
|
|
283
|
+
-N, --none Swap none: 256M
|
|
284
|
+
-S, --suspend Swap suspend: RAM x 2
|
|
285
|
+
-c, --custom=<value> custom unattended configuration
|
|
286
|
+
-d, --domain=<value> Domain name, defult: .local
|
|
287
|
+
-h, --help Show CLI help.
|
|
288
|
+
-i, --ip hostname as ip, eg: ip-192-168-1-33
|
|
289
|
+
-k, --crypted Crypted CLI installation
|
|
290
|
+
-n, --nointeractive no user interaction
|
|
291
|
+
-p, --pve Proxmox VE install
|
|
292
|
+
-r, --random Add random to hostname, eg: colibri-ay412dt
|
|
293
|
+
-s, --small Swap small: RAM
|
|
294
|
+
-u, --unattended Unattended installation
|
|
295
|
+
-v, --verbose Verbose
|
|
296
|
+
|
|
297
|
+
DESCRIPTION
|
|
298
|
+
krill: the CLI system installer - the egg became a penguin!
|
|
299
|
+
|
|
300
|
+
EXAMPLES
|
|
301
|
+
sudo eggs install
|
|
302
|
+
|
|
303
|
+
sudo eggs install --unattended
|
|
304
|
+
|
|
305
|
+
sudo eggs install --custom it
|
|
306
|
+
</code></pre>
|
|
307
|
+
<h2><code>eggs kill</code></h2>
|
|
308
|
+
<p>kill the eggs/free the nest</p>
|
|
309
|
+
<pre><code>USAGE
|
|
310
|
+
$ eggs kill [-h] [-n] [-v]
|
|
311
|
+
|
|
312
|
+
FLAGS
|
|
313
|
+
-h, --help Show CLI help.
|
|
314
|
+
-i, --isos erase all ISOs on remote mount
|
|
315
|
+
-n, --nointeractive no user interaction
|
|
316
|
+
-v, --verbose verbose
|
|
317
|
+
|
|
318
|
+
DESCRIPTION
|
|
319
|
+
kill the eggs/free the nest
|
|
320
|
+
|
|
321
|
+
EXAMPLES
|
|
322
|
+
sudo eggs kill
|
|
323
|
+
</code></pre>
|
|
324
|
+
<h2><code>eggs mom</code></h2>
|
|
325
|
+
<p>ask help from mommy - TUI helper</p>
|
|
326
|
+
<pre><code>USAGE
|
|
327
|
+
$ eggs mom [-h]
|
|
328
|
+
|
|
329
|
+
FLAGS
|
|
330
|
+
-h, --help Show CLI help.
|
|
331
|
+
|
|
332
|
+
DESCRIPTION
|
|
333
|
+
ask help from mommy - TUI helper
|
|
334
|
+
|
|
335
|
+
EXAMPLES
|
|
336
|
+
$ eggs mom
|
|
337
|
+
</code></pre>
|
|
338
|
+
<h2><code>eggs produce</code></h2>
|
|
339
|
+
<p>produce a live image from your system whithout your data</p>
|
|
340
|
+
<pre><code>USAGE
|
|
341
|
+
$ eggs produce [--addons <value>] [--basename <value>] [-c] [-C] [-h] [-m] [-n] [-p <value>] [--release]
|
|
342
|
+
[-s] [-f] [--theme <value>] [-v] [-y]
|
|
343
|
+
|
|
344
|
+
FLAGS
|
|
345
|
+
-C, --cryptedclone crypted clone
|
|
346
|
+
-c, --clone clone
|
|
347
|
+
-f, --standard standard compression
|
|
348
|
+
-h, --help Show CLI help.
|
|
349
|
+
-m, --max max compression
|
|
350
|
+
-N, --noicons no icons
|
|
351
|
+
-n, --nointeractive no user interaction
|
|
352
|
+
-p, --prefix=<value> prefix
|
|
353
|
+
-s, --script script mode. Generate scripts to manage iso build
|
|
354
|
+
-v, --verbose verbose
|
|
355
|
+
-y, --yolk -y force yolk renew
|
|
356
|
+
--addons=<value>... addons to be used: adapt, ichoice, pve, rsupport
|
|
357
|
+
--basename=<value> basename
|
|
358
|
+
--release release: max compression, remove penguins-eggs and calamares after installation
|
|
359
|
+
--theme=<value> theme for livecd, calamares branding and partitions
|
|
360
|
+
|
|
361
|
+
DESCRIPTION
|
|
362
|
+
produce a live image from your system whithout your data
|
|
363
|
+
|
|
364
|
+
EXAMPLES
|
|
365
|
+
sudo eggs produce
|
|
366
|
+
|
|
367
|
+
sudo eggs produce --standard
|
|
368
|
+
|
|
369
|
+
sudo eggs produce --max
|
|
370
|
+
|
|
371
|
+
sudo eggs produce --max --basename=colibri
|
|
372
|
+
|
|
373
|
+
sudo eggs produce --cryptedclone
|
|
374
|
+
|
|
375
|
+
sudo eggs produce --clone
|
|
376
|
+
|
|
377
|
+
sudo eggs produce --basename=colibri
|
|
378
|
+
|
|
379
|
+
sudo eggs produce --basename=colibri --theme /path/to/theme --addons adapt
|
|
380
|
+
</code></pre>
|
|
381
|
+
<h2><code>eggs status</code></h2>
|
|
382
|
+
<p>informations about eggs status</p>
|
|
383
|
+
<pre><code>USAGE
|
|
384
|
+
$ eggs status [-h] [-v]
|
|
385
|
+
|
|
386
|
+
FLAGS
|
|
387
|
+
-h, --help Show CLI help.
|
|
388
|
+
-v, --verbose
|
|
389
|
+
|
|
390
|
+
DESCRIPTION
|
|
391
|
+
informations about eggs status
|
|
392
|
+
|
|
393
|
+
EXAMPLES
|
|
394
|
+
$ eggs status
|
|
395
|
+
</code></pre>
|
|
396
|
+
<h2><code>eggs syncfrom</code></h2>
|
|
397
|
+
<p>restore users and user data from a LUKS volumes</p>
|
|
398
|
+
<pre><code>USAGE
|
|
399
|
+
$ eggs syncfrom [--delete <value>] [-f <value>] [-h] [-r <value>] [-v]
|
|
400
|
+
|
|
401
|
+
FLAGS
|
|
402
|
+
-f, --file=<value> file LUKS volume encrypted
|
|
403
|
+
-h, --help Show CLI help.
|
|
404
|
+
-r, --rootdir=<value> rootdir of the installed system, when used from live
|
|
405
|
+
-v, --verbose verbose
|
|
406
|
+
--delete=<value> rsync --delete delete extraneous files from dest dirs
|
|
407
|
+
|
|
408
|
+
DESCRIPTION
|
|
409
|
+
restore users and user data from a LUKS volumes
|
|
410
|
+
|
|
411
|
+
EXAMPLES
|
|
412
|
+
sudo eggs syncfrom
|
|
413
|
+
|
|
414
|
+
sudo eggs syncfrom --file /path/to/fileLUKS
|
|
415
|
+
</code></pre>
|
|
416
|
+
<h2><code>eggs syncto</code></h2>
|
|
417
|
+
<p>saves users and user data in a LUKS volume inside the iso</p>
|
|
418
|
+
<pre><code>USAGE
|
|
419
|
+
$ eggs syncto [--delete <value>] [-f <value>] [-h] [-v]
|
|
420
|
+
|
|
421
|
+
FLAGS
|
|
422
|
+
-f, --file=<value> file LUKS volume encrypted
|
|
423
|
+
-h, --help Show CLI help.
|
|
424
|
+
-v, --verbose verbose
|
|
425
|
+
--delete=<value> rsync --delete delete extraneous files from dest dirs
|
|
426
|
+
|
|
427
|
+
DESCRIPTION
|
|
428
|
+
saves users and user data in a LUKS volume inside the iso
|
|
429
|
+
|
|
430
|
+
EXAMPLES
|
|
431
|
+
sudo eggs syncto
|
|
432
|
+
|
|
433
|
+
sudo eggs syncto --file /path/to/fileLUKS
|
|
434
|
+
</code></pre>
|
|
435
|
+
<h2><code>eggs tools clean</code></h2>
|
|
436
|
+
<p>clean system log, apt, etc</p>
|
|
437
|
+
<pre><code>USAGE
|
|
438
|
+
$ eggs tools clean [-h] [-n] [-v]
|
|
439
|
+
|
|
440
|
+
FLAGS
|
|
441
|
+
-h, --help Show CLI help.
|
|
442
|
+
-n, --nointeractive no user interaction
|
|
443
|
+
-v, --verbose verbose
|
|
444
|
+
|
|
445
|
+
DESCRIPTION
|
|
446
|
+
clean system log, apt, etc
|
|
447
|
+
|
|
448
|
+
EXAMPLES
|
|
449
|
+
sudo eggs tools clean
|
|
450
|
+
</code></pre>
|
|
451
|
+
<h2><code>eggs tools ppa</code></h2>
|
|
452
|
+
<p>add/remove PPA repositories (Debian family)</p>
|
|
453
|
+
<pre><code>USAGE
|
|
454
|
+
$ eggs tools ppa [-a] [-h] [-n] [-r] [-v]
|
|
455
|
+
|
|
456
|
+
FLAGS
|
|
457
|
+
-a, --add add penguins-eggs PPA repository
|
|
458
|
+
-h, --help Show CLI help.
|
|
459
|
+
-n, --nointeractive no user interaction
|
|
460
|
+
-r, --remove remove penguins-eggs PPA repository
|
|
461
|
+
-v, --verbose verbose
|
|
462
|
+
|
|
463
|
+
DESCRIPTION
|
|
464
|
+
add/remove PPA repositories (Debian family)
|
|
465
|
+
|
|
466
|
+
EXAMPLES
|
|
467
|
+
sudo eggs tools ppa --add
|
|
468
|
+
|
|
469
|
+
sudo eggs tools ppa --remove
|
|
470
|
+
</code></pre>
|
|
471
|
+
<h2><code>eggs tools skel</code></h2>
|
|
472
|
+
<p>update skel from home configuration</p>
|
|
473
|
+
<pre><code>USAGE
|
|
474
|
+
$ eggs tools skel [-h] [-u <value>] [-v]
|
|
475
|
+
|
|
476
|
+
FLAGS
|
|
477
|
+
-h, --help Show CLI help.
|
|
478
|
+
-u, --user=<value> user to be used
|
|
479
|
+
-v, --verbose
|
|
480
|
+
|
|
481
|
+
DESCRIPTION
|
|
482
|
+
update skel from home configuration
|
|
483
|
+
|
|
484
|
+
EXAMPLES
|
|
485
|
+
sudo eggs tools skel
|
|
486
|
+
|
|
487
|
+
sudo eggs tools skel --user user-to-be-copied
|
|
488
|
+
</code></pre>
|
|
489
|
+
<h2><code>eggs tools stat</code></h2>
|
|
490
|
+
<p>get statistics from sourceforge</p>
|
|
491
|
+
<pre><code>USAGE
|
|
492
|
+
$ eggs tools stat [-h] [-m] [-y]
|
|
493
|
+
|
|
494
|
+
FLAGS
|
|
495
|
+
-h, --help Show CLI help.
|
|
496
|
+
-m, --month current month
|
|
497
|
+
-y, --year current year
|
|
498
|
+
|
|
499
|
+
DESCRIPTION
|
|
500
|
+
get statistics from sourceforge
|
|
501
|
+
|
|
502
|
+
EXAMPLES
|
|
503
|
+
$ eggs tools stat
|
|
504
|
+
|
|
505
|
+
$ eggs tools stat --month
|
|
506
|
+
|
|
507
|
+
$ eggs tools stat --year
|
|
508
|
+
</code></pre>
|
|
509
|
+
<h2><code>eggs tools yolk</code></h2>
|
|
510
|
+
<p>configure eggs to install without internet</p>
|
|
511
|
+
<pre><code>USAGE
|
|
512
|
+
$ eggs tools yolk [-h] [-v]
|
|
513
|
+
|
|
514
|
+
FLAGS
|
|
515
|
+
-h, --help Show CLI help.
|
|
516
|
+
-v, --verbose
|
|
517
|
+
|
|
518
|
+
DESCRIPTION
|
|
519
|
+
configure eggs to install without internet
|
|
520
|
+
|
|
521
|
+
EXAMPLES
|
|
522
|
+
sudo eggs tools yolk
|
|
523
|
+
</code></pre>
|
|
524
|
+
<h2><code>eggs update</code></h2>
|
|
525
|
+
<p>update the Penguins' eggs tool</p>
|
|
526
|
+
<pre><code>USAGE
|
|
527
|
+
$ eggs update [-h] [-v]
|
|
528
|
+
|
|
529
|
+
FLAGS
|
|
530
|
+
-h, --help Show CLI help.
|
|
531
|
+
-v, --verbose verbose
|
|
532
|
+
|
|
533
|
+
DESCRIPTION
|
|
534
|
+
update the Penguins' eggs tool
|
|
535
|
+
|
|
536
|
+
EXAMPLES
|
|
537
|
+
$ eggs update
|
|
538
|
+
</code></pre>
|
|
539
|
+
<h2><code>eggs version</code></h2>
|
|
540
|
+
<pre><code>USAGE
|
|
541
|
+
$ eggs version [--json] [--verbose]
|
|
542
|
+
|
|
543
|
+
FLAGS
|
|
544
|
+
--verbose Show additional information about the CLI.
|
|
545
|
+
|
|
546
|
+
GLOBAL FLAGS
|
|
547
|
+
--json Format output as json.
|
|
548
|
+
|
|
549
|
+
FLAG DESCRIPTIONS
|
|
550
|
+
--verbose Show additional information about the CLI.
|
|
551
|
+
|
|
552
|
+
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
|
|
553
|
+
</code></pre>
|
|
554
|
+
<h2><code>eggs wardrobe get [REPO]</code></h2>
|
|
555
|
+
<p>get warorobe</p>
|
|
556
|
+
<pre><code>USAGE
|
|
557
|
+
$ eggs wardrobe get [REPO] [-h] [-v]
|
|
558
|
+
|
|
559
|
+
ARGUMENTS
|
|
560
|
+
REPO repository to get
|
|
561
|
+
|
|
562
|
+
FLAGS
|
|
563
|
+
-h, --help Show CLI help.
|
|
564
|
+
-v, --verbose
|
|
565
|
+
|
|
566
|
+
DESCRIPTION
|
|
567
|
+
get warorobe
|
|
568
|
+
|
|
569
|
+
EXAMPLES
|
|
570
|
+
$ eggs wardrobe get
|
|
571
|
+
|
|
572
|
+
$ eggs wardrobe get your-wardrobe
|
|
573
|
+
</code></pre>
|
|
574
|
+
<h2><code>eggs wardrobe list [WARDROBE]</code></h2>
|
|
575
|
+
<p>list costumes and accessoires in wardrobe</p>
|
|
576
|
+
<pre><code>USAGE
|
|
577
|
+
$ eggs wardrobe list [WARDROBE] [-h] [-v]
|
|
578
|
+
|
|
579
|
+
ARGUMENTS
|
|
580
|
+
WARDROBE wardrobe
|
|
581
|
+
|
|
582
|
+
FLAGS
|
|
583
|
+
-h, --help Show CLI help.
|
|
584
|
+
-v, --verbose
|
|
585
|
+
|
|
586
|
+
DESCRIPTION
|
|
587
|
+
list costumes and accessoires in wardrobe
|
|
588
|
+
|
|
589
|
+
EXAMPLES
|
|
590
|
+
$ eggs wardrobe list
|
|
591
|
+
|
|
592
|
+
$ eggs wardrobe list your-wardrobe
|
|
593
|
+
</code></pre>
|
|
594
|
+
<h2><code>eggs wardrobe show [COSTUME]</code></h2>
|
|
595
|
+
<p>show costumes/accessories in wardrobe</p>
|
|
596
|
+
<pre><code>USAGE
|
|
597
|
+
$ eggs wardrobe show [COSTUME] [-h] [-j] [-v] [-w <value>]
|
|
598
|
+
|
|
599
|
+
ARGUMENTS
|
|
600
|
+
COSTUME costume
|
|
601
|
+
|
|
602
|
+
FLAGS
|
|
603
|
+
-h, --help Show CLI help.
|
|
604
|
+
-j, --json output JSON
|
|
605
|
+
-v, --verbose
|
|
606
|
+
-w, --wardrobe=<value> wardrobe
|
|
607
|
+
|
|
608
|
+
DESCRIPTION
|
|
609
|
+
show costumes/accessories in wardrobe
|
|
610
|
+
|
|
611
|
+
EXAMPLES
|
|
612
|
+
$ eggs wardrobe show colibri
|
|
613
|
+
|
|
614
|
+
$ eggs wardrobe show accessories/firmwares
|
|
615
|
+
|
|
616
|
+
$ eggs wardrobe show accessories/
|
|
617
|
+
</code></pre>
|
|
618
|
+
<h2><code>eggs wardrobe wear [COSTUME]</code></h2>
|
|
619
|
+
<p>wear costume/accessories from wardrobe</p>
|
|
620
|
+
<pre><code>USAGE
|
|
621
|
+
$ eggs wardrobe wear [COSTUME] [-h] [-a] [-f] [-s] [-v] [-w <value>]
|
|
622
|
+
|
|
623
|
+
ARGUMENTS
|
|
624
|
+
COSTUME costume
|
|
625
|
+
|
|
626
|
+
FLAGS
|
|
627
|
+
-a, --no_accessories not install accessories
|
|
628
|
+
-f, --no_firmwares not install firmwares
|
|
629
|
+
-h, --help Show CLI help.
|
|
630
|
+
-s, --silent
|
|
631
|
+
-v, --verbose
|
|
632
|
+
-w, --wardrobe=<value> wardrobe
|
|
633
|
+
|
|
634
|
+
DESCRIPTION
|
|
635
|
+
wear costume/accessories from wardrobe
|
|
636
|
+
|
|
637
|
+
EXAMPLES
|
|
638
|
+
sudo eggs wardrobe wear duck
|
|
639
|
+
|
|
640
|
+
sudo eggs wardrobe wear accessories/firmwares
|
|
641
|
+
|
|
642
|
+
sudo eggs wardrobe wear wagtail/waydroid
|
|
643
|
+
</code></pre>
|
|
644
|
+
<h1>FILES</h1>
|
|
645
|
+
<pre><code> /etc/penguins-eggs.d
|
|
646
|
+
all eggs configurations are here
|
|
647
|
+
|
|
648
|
+
/usr/local/share/penguins-eggs/exclude.list
|
|
649
|
+
exclude.list rsync
|
|
650
|
+
|
|
651
|
+
/usr/lib/penguins-eggs (deb package)
|
|
652
|
+
here eggs is installed
|
|
653
|
+
</code></pre>
|
|
654
|
+
<h1>TROUBLES</h1>
|
|
655
|
+
<h2>BUGS</h2>
|
|
656
|
+
<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>
|
|
657
|
+
<h1>RESOURCES AND DOCUMENTATION</h1>
|
|
658
|
+
<p>Consult website to find documentation</p>
|
|
659
|
+
<ul>
|
|
660
|
+
<li>website: <strong>https://penguins-eggs.net</strong></li>
|
|
661
|
+
<li>gitHub repository: <strong>https://github.com/pieroproietti/penguins-eggs</strong></li>
|
|
662
|
+
<li>telegram: <strong>https://t.me/penguins_eggs</strong></li>
|
|
663
|
+
</ul>
|
|
664
|
+
<h1>AUTHOR</h1>
|
|
665
|
+
<p>Piero Proietti <a href="mailto:piero.proietti@gmail.com">piero.proietti@gmail.com</a></p>
|
|
666
|
+
</body>
|
|
667
|
+
</html>
|
package/package.json
CHANGED
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
|