The nodeinstaller code is packaged into updates.img files deployed in /opt/kusu/lib/nodeinstaller on your Kusu master node. These files are generated when building the base kit. To build a base kit can be time consuming.
To shorten the turnaround time from making changes to nodeinstaller source to testing it on your existing Kusu cluster, you can generate the updates.img files manually, and here's how:
- Rebuild your changes (as recommended)
- Run the makepatchfiles.sh script:
This will generate the updates.img files with your nodeinstaller changes.Code:# /path/to/workspace/bin/makepatchfiles.sh /path/to/workspace/src/kits/base- Copy the new updates.img files in path/to/workspace/src/kits/base/packages/kusu-nodeinstaller-patchfiles to their appropriate place on your Kusu master.
Now simply reprovision your nodes to test your changes.


LinkBack URL
About LinkBacks
Reply With Quote