Digital Rebar Phase 1 design - cablelabs/snaps-boot GitHub Wiki
Preserver the current input files and interactions for installing and running the snaps-boot installer while replacing the DHCP, TFTP, HTTP, and cloud-init servers with the open source components of Digital Rebar (DRB). This will provide an API access to configure the servers, instead a file manipulation. DRB is also a lighter weight solution that can easily run from and RPi or Docker container.
https://github.com/cablelabs/snaps-boot/blob/master/doc/source/install/install.md#step-1 The OS image will no longer need to be manually downloaded and will be included in a customized content pack. This will be transparent to the end user, they will simply specify the OS in the hosts.yaml file.
https://github.com/cablelabs/snaps-boot/blob/master/doc/source/install/install.md#step-3 The preRequsite.sh script will be updated to install DRB and all of the dependences.
https://github.com/cablelabs/snaps-boot/blob/master/doc/source/install/install.md#step-4 ./iaas_launch.py -f <hosts.yaml> -p This will now perform the following tasks.
- Load the appropriate snaps-boot content pack and isos.
- Create the management subnet.
- Create machines for each of the servers.
- Create reservation for the IPs on each of the servers.
- Apply properties to each of the machines. Need list
- Set these servers to run the install workflow during the next network boot.
https://github.com/cablelabs/snaps-boot/blob/master/doc/source/install/install.md#step-5 The post install validation for the services will no longer be required.
https://github.com/cablelabs/snaps-boot/blob/master/doc/source/install/install.md#step-6 No changes needed to -b option.
https://github.com/cablelabs/snaps-boot/blob/master/doc/source/install/install.md#step-7 No Changes needed to the -s option.
https://github.com/cablelabs/snaps-boot/blob/master/doc/source/install/install.md#step-8 No changes needed for -i option.
https://github.com/cablelabs/snaps-boot/blob/master/doc/source/install/install.md#53-roll-back-of-snaps-boot-installation The -pc option will need to clean up DRB from the -p option. Basically uninstall DRB and delete any remaining data files. https://provision.readthedocs.io/en/tip/doc/install.html#removal-of-digital-rebar-provision
tools/install.sh --remove-data remove
sudo rm -rf dr-provision-install