ghfields / rpooler Goto Github PK
View Code? Open in Web Editor NEWA guided installation script for zfs rpools
A guided installation script for zfs rpools
Check OS on a drive and see if it is capable of running as an rpool. Then see if /boot, /efi, /home, etc can all be located, then create pool and structure, then rsync and chroot.
Point to physical disk
Is mounted? if not mount RO.
Look for needed directories "/boot", etc.
Look for supported distro
Point to new zpool location
Continue with rsync, and chroot
Not sure about your intended use case but it might be reasonable to automatically or optionally install and activate an SSH server.
Selection, partitioning, and formatting of the zvol within the Ubiquity installer may be automated and skipped.
Currently it is hardset to /$POOL/ROOT/ubuntu-1.
Along with #15, add the additional hooks to kernel and initramfs to populate /boot/efi/EFI/ubuntu automatically. Perhaps rsync could be used to clean up deleted kernels.
This will allow the elimination of grub
Hook instrucions found here:
https://wiki.debian.org/EFIStub
Create an option that outputs to file and/or screen of the commands generated by the script responses.
In ESXi 6.7U2, the Ubuntu live environment does not show any choices in the /dev/disk/by-id section. The solution is to add:
disk.EnableUUID = true to the VMX file and reboot.
After that, the script succeeds and works perfectly. Just an info line in Readme.md or the installer would be a nice touch.
Does the script support LUKS? Its not mentioned anywhere.
Basically this guide:
https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS
https://gist.github.com/vrivellino/7dcf150da4cc1d07008315643bfdbfb5
Or this ansible script has it:
https://github.com/dyindude/ubuntu-zfs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.