penguins-eggs 9.6.13 → 9.6.15
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 +4 -3
- package/addons/templates/grub.template +2 -2
- package/addons/templates/isolinux.template +2 -2
- package/conf/exclude.list +58 -122
- package/dist/classes/ovary.js +29 -10
- package/dist/classes/pxe.js +15 -21
- package/dist/classes/yolk.js +5 -5
- package/dist/commands/export/iso.js +10 -4
- package/package.json +1 -1
- package/scripts/_eggs +2 -0
- package/scripts/eggs.bash +2 -2
- package/manpages/doc/man/README.md +0 -4
- package/manpages/doc/man/eggs.1.gz +0 -0
- package/manpages/doc/man/eggs.html +0 -665
package/.oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"9.6.13","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},"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.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}]}}}
|
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.15_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.15_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.15_amd64.deb** or **gdebi eggs_9.6.15_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,6 +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
451
|
-h, --help Show CLI help.
|
|
451
452
|
-v, --verbose verbose
|
|
452
453
|
|
|
@@ -19,13 +19,13 @@ set theme=/boot/grub/theme.cfg
|
|
|
19
19
|
menuentry "{{{fullname}}}" {
|
|
20
20
|
set gfxpayload=keep
|
|
21
21
|
{{{rmModules}}}
|
|
22
|
-
linux {{{vmlinuz}}} {{{kernel_parameters}}} quiet splash
|
|
22
|
+
linux {{{vmlinuz}}} {{{kernel_parameters}}} ipv6.disable=1 quiet splash
|
|
23
23
|
initrd {{{initrdImg}}}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
menuentry "{{{fullname}}} safe" {
|
|
27
27
|
set gfxpayload=keep
|
|
28
28
|
{{{rmModules}}}
|
|
29
|
-
linux {{{vmlinuz}}} {{{kernel_parameters}}} apparmor=0 net.ifnames=0 noapic noapm nodma nomce nolapic nosmp vga=normal
|
|
29
|
+
linux {{{vmlinuz}}} {{{kernel_parameters}}} apparmor=0 net.ifnames=0 noapic noapm nodma nomce nolapic nosmp vga=normal ipv6.disable=1
|
|
30
30
|
initrd {{{initrdImg}}}
|
|
31
31
|
}
|
|
@@ -14,13 +14,13 @@ label GUI
|
|
|
14
14
|
menu default
|
|
15
15
|
say "Booting {{{fullname}}} GNU/Linux Live (kernel {{{kernel}}})"
|
|
16
16
|
linux {{{vmlinuz}}}
|
|
17
|
-
append initrd={{{initrdImg}}} {{{kernel_parameters}}}
|
|
17
|
+
append initrd={{{initrdImg}}} {{{kernel_parameters}}} ipv6.disable=1
|
|
18
18
|
|
|
19
19
|
label SAFE
|
|
20
20
|
menu label {{{fullname}}} SAFE
|
|
21
21
|
say "Booting {{{fullname}}} GNU/Linux Live safe mode (kernel {{{kernel}}})"
|
|
22
22
|
linux {{{vmlinuz}}}
|
|
23
|
-
append initrd={{{initrdImg}}} {{{kernel_parameters}}} apparmor=0 net.ifnames=0 noapic noapm nodma nomce nolapic nosmp vga=normal
|
|
23
|
+
append initrd={{{initrdImg}}} {{{kernel_parameters}}} apparmor=0 net.ifnames=0 noapic noapm nodma nomce nolapic nosmp vga=normal ipv6.disable=1
|
|
24
24
|
|
|
25
25
|
label Boot from local
|
|
26
26
|
com32 chain.c32
|
package/conf/exclude.list
CHANGED
|
@@ -1,64 +1,67 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Based on: https://git.devuan.org/devuan/refractasnapshot-base/src/branch/master/snapshot_exclude.list
|
|
2
|
+
#
|
|
3
|
+
# Location: /usr/local/share/penguins-eggs/exclude.list
|
|
4
|
+
#
|
|
5
|
+
# Authors: fsmithred (original), Piero Proietti, Tim Wallace
|
|
6
|
+
#
|
|
7
|
+
# NOTE: all is alfabetic sorted with code->command palette->sortes lines ascending
|
|
8
|
+
#
|
|
9
|
+
# - moved /mnt/* under SYSTEM
|
|
10
|
+
# - created LIVE STUFFS, CUSTOM and TESTING
|
|
4
11
|
|
|
5
|
-
|
|
6
|
-
#
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
######################################################################################################
|
|
13
|
+
# SYSTEM: Exclude some system files - These are required, and you probably shouldn't change them.
|
|
14
|
+
# They are temporary files only created on bootup - otherwise would waste space on a clone
|
|
15
|
+
cdrom/*
|
|
16
|
+
dev/*
|
|
17
|
+
media/*
|
|
18
|
+
mnt/*
|
|
19
|
+
proc/*
|
|
20
|
+
swapfile
|
|
21
|
+
sys/*
|
|
22
|
+
tmp/*
|
|
11
23
|
|
|
12
|
-
|
|
13
|
-
|
|
24
|
+
######################################################################################################
|
|
25
|
+
# LIVE STUFFS: files depending on live
|
|
26
|
+
etc/udev/rules.d/70-persistent-cd.rules
|
|
27
|
+
etc/udev/rules.d/70-persistent-net.rules
|
|
28
|
+
lib/live/*
|
|
29
|
+
live
|
|
30
|
+
persistence.conf
|
|
31
|
+
var/lib/live/config/*
|
|
14
32
|
|
|
15
|
-
|
|
16
|
-
|
|
33
|
+
######################################################################################################
|
|
34
|
+
# HARDWARE DEPENDAND FILES: created/updated during restoration of clone by calamares
|
|
17
35
|
boot/grub/device.map
|
|
18
36
|
boot/grub/grub.cfg
|
|
19
37
|
boot/grub/menu.lst
|
|
20
|
-
cdrom/*
|
|
21
|
-
dev/*
|
|
22
|
-
etc/apt/sources.list~
|
|
23
38
|
etc/blkid.tab
|
|
24
39
|
etc/blkid.tab.old
|
|
25
|
-
etc/crypttab
|
|
26
40
|
etc/fstab
|
|
27
41
|
etc/fstab.d/*
|
|
28
|
-
etc/initramfs-tools/conf.d/cryptroot # see remove-cryptroot and nocrypt.sh
|
|
29
|
-
etc/initramfs-tools/conf.d/resume # see remove-cryptroot and nocrypt.sh
|
|
30
42
|
etc/mtab
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
media/*
|
|
42
|
-
mnt/*
|
|
43
|
-
persistence.conf
|
|
44
|
-
proc/*
|
|
45
|
-
run/*
|
|
46
|
-
swap/*
|
|
47
|
-
sys/*
|
|
48
|
-
tmp/*
|
|
49
|
-
usr/lib/live/image
|
|
50
|
-
usr/lib/live/mount
|
|
51
|
-
usr/lib/live/overlay
|
|
52
|
-
usr/lib/live/rootfs
|
|
53
|
-
usr/share/icons/*/icon-theme.cache
|
|
54
|
-
var/backups/*.bak
|
|
55
|
-
var/backups/*.gz
|
|
43
|
+
|
|
44
|
+
######################################################################################################
|
|
45
|
+
# CACHES: that tend to be very large and unneeded - only for Arch and Debian based Linuxes
|
|
46
|
+
|
|
47
|
+
# Arch family
|
|
48
|
+
home/*/.local/share/yay
|
|
49
|
+
var/cache/pacman/pkg
|
|
50
|
+
var/cache/private/yay
|
|
51
|
+
|
|
52
|
+
# Debian family
|
|
56
53
|
var/cache/apt/apt-file/*
|
|
57
54
|
var/cache/apt/archives/*.deb
|
|
58
55
|
var/cache/apt/pkgcache.bin
|
|
59
56
|
var/cache/apt/srcpkgcache.bin
|
|
60
57
|
var/cache/debconf/*~old
|
|
61
|
-
|
|
58
|
+
|
|
59
|
+
######################################################################################################
|
|
60
|
+
# MISC: miscellanea
|
|
61
|
+
etc/crypttab
|
|
62
|
+
etc/initramfs-tools/conf.d/cryptroot # see remove-cryptroot and nocrypt.sh
|
|
63
|
+
etc/initramfs-tools/conf.d/resume # see remove-cryptroot and nocrypt.sh
|
|
64
|
+
etc/popularity-contest.conf
|
|
62
65
|
var/lib/apt/*~
|
|
63
66
|
var/lib/apt/cdroms.list
|
|
64
67
|
var/lib/apt/lists/*
|
|
@@ -66,83 +69,16 @@ var/lib/aptitude/*.old
|
|
|
66
69
|
var/lib/dbus/machine-id
|
|
67
70
|
var/lib/dhcp/*
|
|
68
71
|
var/lib/dpkg/*~old
|
|
69
|
-
var/
|
|
70
|
-
var/mail/*
|
|
71
|
-
var/spool/mail/*
|
|
72
|
-
|
|
73
|
-
root/.aptitude
|
|
74
|
-
root/.disk-manager.conf
|
|
75
|
-
root/.fstab.log
|
|
76
|
-
root/.ICEauthority
|
|
77
|
-
root/.lesshst
|
|
78
|
-
#root/.local/share/* # too inclusive - for example, excludes configurations for Dolphin and Typora in root Desktop
|
|
79
|
-
root/.ssh
|
|
80
|
-
root/.synaptic
|
|
81
|
-
root/.VirtualBox
|
|
82
|
-
root/.Xauthority
|
|
72
|
+
var/log/*
|
|
83
73
|
|
|
84
|
-
|
|
85
|
-
home
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
home/*/.config/hexchat
|
|
91
|
-
home/*/.dbus
|
|
92
|
-
home/*/.gksu*
|
|
93
|
-
home/*/.gvfs
|
|
94
|
-
home/*/.ICEauthority
|
|
95
|
-
home/*/.lesshst
|
|
96
|
-
home/*/.macromedia
|
|
97
|
-
home/*/.nano_history
|
|
98
|
-
home/*/.pulse*
|
|
99
|
-
home/*/.ssh
|
|
100
|
-
home/*/.thumbnails/fail/*
|
|
101
|
-
home/*/.thumbnails/large/*
|
|
102
|
-
home/*/.thumbnails/normal/*
|
|
103
|
-
home/*/.vbox*
|
|
104
|
-
home/*/.wine
|
|
105
|
-
home/*/.Xauthority
|
|
106
|
-
home/*/.xchat2
|
|
107
|
-
home/*/.xsession-errors*
|
|
108
|
-
home/*/VirtualBox # https://www.virtualbox.org/
|
|
109
|
-
|
|
110
|
-
# PRIVATE - remove this section, for an egg with full copy of current personalized installation
|
|
74
|
+
######################################################################################################
|
|
75
|
+
# CUSTOM: nest - usually /home/eggs - is automatically excluded!
|
|
76
|
+
.snapshots/*
|
|
77
|
+
swap/*
|
|
78
|
+
swapfile
|
|
79
|
+
blissos/data.img # blissos
|
|
111
80
|
|
|
112
|
-
root/.bash_history
|
|
113
|
-
root/.local/share/ark
|
|
114
|
-
root/.local/share/RecentDocuments
|
|
115
|
-
root/.local/share/recently-used.xbel
|
|
116
|
-
root/.local/share/Trash/*
|
|
117
|
-
root/.local/share/user-places.*
|
|
118
|
-
root/.log
|
|
119
|
-
root/.mozilla/*/Cache/*
|
|
120
|
-
root/.mozilla/*/cookies.sqlite
|
|
121
|
-
root/.mozilla/*/downloads.sqlite
|
|
122
|
-
root/.mozilla/*/formhistory.sqlite
|
|
123
|
-
root/.mozilla/*/places.sqlite
|
|
124
|
-
root/.mozilla/*/signons.sqlite
|
|
125
|
-
root/.mozilla/*/urlclassifier3.sqlite
|
|
126
|
-
root/.nano_history
|
|
127
|
-
root/.zhistory
|
|
128
81
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
home
|
|
132
|
-
home/*/.local/share/ark
|
|
133
|
-
home/*/.local/share/kwalletd/*
|
|
134
|
-
home/*/.local/share/RecentDocuments
|
|
135
|
-
home/*/.local/share/recently-used.xbel
|
|
136
|
-
home/*/.local/share/Trash/*
|
|
137
|
-
home/*/.local/share/user-places.*
|
|
138
|
-
home/*/.log
|
|
139
|
-
home/*/.mozilla/*/Cache/*
|
|
140
|
-
home/*/.mozilla/*/cookies.sqlite
|
|
141
|
-
home/*/.mozilla/*/downloads.sqlite
|
|
142
|
-
home/*/.mozilla/*/formhistory.sqlite
|
|
143
|
-
home/*/.mozilla/*/places.sqlite
|
|
144
|
-
home/*/.mozilla/*/signons.sqlite
|
|
145
|
-
home/*/.mozilla/*/urlclassifier3.sqlite
|
|
146
|
-
home/*/.nano_history
|
|
147
|
-
home/*/.password-store
|
|
148
|
-
home/*/.zhistory
|
|
82
|
+
######################################################################################################
|
|
83
|
+
# TESTING: only for testing
|
|
84
|
+
# home/artisan/*
|
package/dist/classes/ovary.js
CHANGED
|
@@ -101,15 +101,15 @@ class Ovary {
|
|
|
101
101
|
const luksFile = `/tmp/${luksName}`;
|
|
102
102
|
// let luksDevice = `/dev/mapper/${this.luksName}`
|
|
103
103
|
// let luksMountpoint = `/mnt`
|
|
104
|
-
if (this.familyId === 'debian') {
|
|
104
|
+
if (this.familyId === 'debian' && utils_2.default.uefiArch() === 'amd64') {
|
|
105
105
|
const yolk = new yolk_1.default();
|
|
106
|
-
if (!yolk.
|
|
107
|
-
utils_2.default.warning('
|
|
106
|
+
if (!yolk.exists()) {
|
|
107
|
+
utils_2.default.warning('Create yolk');
|
|
108
108
|
await yolk.create(verbose);
|
|
109
109
|
}
|
|
110
110
|
else if (yolkRenew) {
|
|
111
111
|
utils_2.default.warning('Renew yolk');
|
|
112
|
-
yolk.
|
|
112
|
+
await yolk.erase();
|
|
113
113
|
await yolk.create(verbose);
|
|
114
114
|
}
|
|
115
115
|
else {
|
|
@@ -368,17 +368,31 @@ class Ovary {
|
|
|
368
368
|
// MX aggiunto /etc
|
|
369
369
|
await (0, utils_1.exec)(`sed -i 's:#/dev/sd\[a-z\]:/dev/sd\[a-z\]:' ${this.settings.work_dir.merged}/etc/pmount.allow`, this.echo);
|
|
370
370
|
}
|
|
371
|
-
// Enable or disable password login through ssh for users (not root)
|
|
372
371
|
// Remove obsolete live-config file
|
|
373
372
|
if (fs_1.default.existsSync(`${this.settings.work_dir.merged}lib/live/config/1161-openssh-server`)) {
|
|
374
|
-
await (0, utils_1.exec)(
|
|
373
|
+
await (0, utils_1.exec)(`rm -f ${this.settings.work_dir.merged}/lib/live/config/1161-openssh-server`, this.echo);
|
|
375
374
|
}
|
|
376
375
|
if (fs_1.default.existsSync(`${this.settings.work_dir.merged}/etc/ssh/sshd_config`)) {
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
376
|
+
/**
|
|
377
|
+
* enable/disable SSH root/users password login
|
|
378
|
+
*/
|
|
379
|
+
await (0, utils_1.exec)(`sed -i '/PermitRootLogin/d' ${this.settings.work_dir.merged}/etc/ssh/sshd_config`);
|
|
380
|
+
await (0, utils_1.exec)(`sed -i '/PasswordAuthentication/d' ${this.settings.work_dir.merged}/etc/ssh/sshd_config`);
|
|
381
|
+
if (this.settings.config.ssh_pass) {
|
|
382
|
+
await (0, utils_1.exec)(`echo 'PermitRootLogin yes' | tee -a ${this.settings.work_dir.merged}/etc/ssh/sshd_config`);
|
|
383
|
+
await (0, utils_1.exec)(`echo 'PasswordAuthentication yes' | tee -a ${this.settings.work_dir.merged}/etc/ssh/sshd_config`);
|
|
384
|
+
}
|
|
385
|
+
else {
|
|
386
|
+
await (0, utils_1.exec)(`echo 'PermitRootLogin prohibit-password' | tee -a ${this.settings.work_dir.merged}/etc/ssh/sshd_config`);
|
|
387
|
+
await (0, utils_1.exec)(`echo 'PasswordAuthentication no' | tee -a ${this.settings.work_dir.merged}/etc/ssh/sshd_config`);
|
|
388
|
+
}
|
|
381
389
|
}
|
|
390
|
+
/**
|
|
391
|
+
* ufw --force reset
|
|
392
|
+
*/
|
|
393
|
+
// if (Pacman.packageIsInstalled('ufw')) {
|
|
394
|
+
// await exec('ufw --force reset')
|
|
395
|
+
// }
|
|
382
396
|
/**
|
|
383
397
|
* /etc/fstab should exist, even if it's empty,
|
|
384
398
|
* to prevent error messages at boot
|
|
@@ -618,6 +632,7 @@ class Ovary {
|
|
|
618
632
|
if (this.verbose) {
|
|
619
633
|
console.log('Ovary: kernelParameters');
|
|
620
634
|
}
|
|
635
|
+
// GRUB_CMDLINE_LINUX='ipv6.disable=1'
|
|
621
636
|
const distroId = this.settings.distro.distroId;
|
|
622
637
|
let kp = `boot=live components locales=${process.env.LANG}`;
|
|
623
638
|
if (this.familyId === 'archlinux') {
|
|
@@ -1656,6 +1671,10 @@ class Ovary {
|
|
|
1656
1671
|
const src = this.settings.config.snapshot_mnt + this.settings.isoFilename;
|
|
1657
1672
|
const dest = this.settings.config.snapshot_dir + this.settings.isoFilename;
|
|
1658
1673
|
await (0, utils_1.exec)(`ln -s ${src} ${dest}`);
|
|
1674
|
+
// Create md5sum, sha256sum
|
|
1675
|
+
utils_2.default.warning('creating md5, sha256');
|
|
1676
|
+
await (0, utils_1.exec)(`md5sum ${src} > ${dest.replace('.iso', '.md5')}`);
|
|
1677
|
+
await (0, utils_1.exec)(`sha256sum ${src} > ${dest.replace('.iso', '.sha256')}`);
|
|
1659
1678
|
}
|
|
1660
1679
|
}
|
|
1661
1680
|
/**
|
package/dist/classes/pxe.js
CHANGED
|
@@ -16,6 +16,7 @@ const node_static_1 = tslib_1.__importDefault(require("node-static"));
|
|
|
16
16
|
const node_path_1 = tslib_1.__importDefault(require("node:path"));
|
|
17
17
|
const settings_1 = tslib_1.__importDefault(require("./settings"));
|
|
18
18
|
const utils_2 = tslib_1.__importDefault(require("./utils"));
|
|
19
|
+
// @ts-ignore
|
|
19
20
|
const tftp_1 = tslib_1.__importDefault(require("tftp"));
|
|
20
21
|
// @ts-ignore
|
|
21
22
|
const etrick_1 = tslib_1.__importDefault(require("etrick"));
|
|
@@ -70,14 +71,14 @@ class Pxe {
|
|
|
70
71
|
this.nest = this.settings.config.snapshot_mnt;
|
|
71
72
|
this.pxeRoot = this.nest + '/pxe';
|
|
72
73
|
/**
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
* se pxeRoot non esiste viene creato
|
|
75
|
+
*/
|
|
75
76
|
if (!fs_1.default.existsSync(this.pxeRoot)) {
|
|
76
77
|
await (0, utils_1.exec)(`mkdir ${this.pxeRoot} -p`);
|
|
77
78
|
}
|
|
78
79
|
/**
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
* Ricerca delle ISOs
|
|
81
|
+
*/
|
|
81
82
|
const isos = [];
|
|
82
83
|
/*
|
|
83
84
|
if (!Utils.isLive()) {
|
|
@@ -92,9 +93,9 @@ class Pxe {
|
|
|
92
93
|
}
|
|
93
94
|
*/
|
|
94
95
|
/**
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
* installed: /home/eggs/mnt/iso/live
|
|
97
|
+
* live: this.iso/live
|
|
98
|
+
*/
|
|
98
99
|
const pathFiles = this.eggRoot + 'live';
|
|
99
100
|
const files = fs_1.default.readdirSync(pathFiles);
|
|
100
101
|
for (const file of files) {
|
|
@@ -116,8 +117,8 @@ class Pxe {
|
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
119
|
/**
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
* bootLabel
|
|
121
|
+
*/
|
|
121
122
|
this.bootLabel = 'not found';
|
|
122
123
|
if (fs_1.default.existsSync(this.eggRoot + '/.disk/mkisofs')) {
|
|
123
124
|
const a = fs_1.default.readFileSync(this.eggRoot + '/.disk/mkisofs', 'utf-8');
|
|
@@ -197,8 +198,8 @@ class Pxe {
|
|
|
197
198
|
content += `menu label ${this.bootLabel.replace('.iso', '')}\n`;
|
|
198
199
|
if (this.settings.distro.familyId === 'debian') {
|
|
199
200
|
/**
|
|
200
|
-
|
|
201
|
-
|
|
201
|
+
* DEBIAN
|
|
202
|
+
*/
|
|
202
203
|
const clid = this.settings.distro.codenameLikeId;
|
|
203
204
|
if (clid === 'bionic' || clid === 'stretch' || clid === 'jessie') {
|
|
204
205
|
content += 'kernel vmlinuz\n';
|
|
@@ -214,14 +215,7 @@ class Pxe {
|
|
|
214
215
|
* ARCH LINUX
|
|
215
216
|
*/
|
|
216
217
|
let tool = 'archiso';
|
|
217
|
-
if (
|
|
218
|
-
// ManjaroCodenames
|
|
219
|
-
distro.codenameId === 'Qonos' ||
|
|
220
|
-
distro.codenameId === 'Ruah' ||
|
|
221
|
-
distro.codenameId === 'Sikaris' ||
|
|
222
|
-
distro.codenameId === 'Talos' ||
|
|
223
|
-
distro.codenameId === 'UltimaThule' ||
|
|
224
|
-
distro.codenameId === 'Uranos') {
|
|
218
|
+
if (distro.distroId === 'ManjaroLinux') {
|
|
225
219
|
tool = 'miso';
|
|
226
220
|
}
|
|
227
221
|
content += `kernel http://${utils_2.default.address()}/vmlinuz\n`;
|
|
@@ -282,8 +276,8 @@ class Pxe {
|
|
|
282
276
|
*/
|
|
283
277
|
if (this.settings.distro.familyId === 'debian') {
|
|
284
278
|
/**
|
|
285
|
-
|
|
286
|
-
|
|
279
|
+
* DEBIAN
|
|
280
|
+
*/
|
|
287
281
|
content += `imgargs vmlinuz fetch=http://${utils_2.default.address()}/live/filesystem.squashfs boot=live dhcp initrd=initrd ro\n`;
|
|
288
282
|
}
|
|
289
283
|
else if (this.settings.distro.familyId === 'archlinux') {
|
package/dist/classes/yolk.js
CHANGED
|
@@ -33,7 +33,7 @@ class Yolk {
|
|
|
33
33
|
utils_1.default.warning(`yolk is not used on ${utils_1.default.uefiArch()} architecture`);
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
|
-
utils_1.default.warning(`Creating
|
|
36
|
+
utils_1.default.warning(`Creating yolk on ${this.yolkDir}`);
|
|
37
37
|
utils_1.default.warning('Updating system');
|
|
38
38
|
if (!pacman_1.default.commandIsInstalled('dpkg-scanpackages')) {
|
|
39
39
|
utils_1.default.warning(`I cannot find the command dpkg-scanpackages`);
|
|
@@ -49,12 +49,12 @@ class Yolk {
|
|
|
49
49
|
await utils_1.default.pressKeyToExit(cmd);
|
|
50
50
|
process.exit(0);
|
|
51
51
|
}
|
|
52
|
-
if (!this.
|
|
52
|
+
if (!this.exists()) {
|
|
53
53
|
await (0, utils_2.exec)(`mkdir ${this.yolkDir} -p`, this.echo);
|
|
54
54
|
await (0, utils_2.exec)(`chown _apt:root ${this.yolkDir} -R`, this.echo);
|
|
55
55
|
}
|
|
56
56
|
else {
|
|
57
|
-
await this.
|
|
57
|
+
await this.erase();
|
|
58
58
|
}
|
|
59
59
|
// packages we need
|
|
60
60
|
const pkgs = [
|
|
@@ -111,14 +111,14 @@ class Yolk {
|
|
|
111
111
|
/**
|
|
112
112
|
* Check if yoil exists and it's a repo
|
|
113
113
|
*/
|
|
114
|
-
|
|
114
|
+
exists() {
|
|
115
115
|
const check = `${this.yolkDir}/Packages.gz`;
|
|
116
116
|
return fs_1.default.existsSync(check);
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* Svuota la repo yolk
|
|
120
120
|
*/
|
|
121
|
-
async
|
|
121
|
+
async erase() {
|
|
122
122
|
await (0, utils_2.exec)(`rm ${this.yolkDir}/*`, this.echo);
|
|
123
123
|
}
|
|
124
124
|
}
|