fix: wpb-21356 offline-vm-setup script to manage VMs wiab-staging #845
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Removed command-line argument parsing - Script no longer supports --deploy-vm, --verbose, or -h flags; now only deploys the full 7-VM standard infrastructure.
Switched from static to dynamic DHCP IPs - VMs now acquire IPs automatically via DHCP instead of using pre-configured static IPs (192.168.122.10-33).
Replaced Autoinstall with Cloud-Init - Simplified provisioning from complex Ubuntu Installer to lightweight cloud-init with cloud-localds seed ISOs. VMs creation was taking 8 mins on physical hypervisor(KVM) enabled nodes and VM were in shut-off state once created, manual start was required. Now it takes 1.5 mins for 6 VMs.
Centralized SSH keys to deploy_dir/ssh/ - SSH keypairs now stored locally in the project directory instead of user's home .ssh/ folder with automatic permission validation.
Added .vm-env environment file export - Script now generates and exports all VM IPs as environment variables for downstream automation and inventory generation.
IP management was static - now it is DHCP based - better way to avoid collisions and in virtual network native way
If VMs are ready - old way was simple running check - modified to perform a ssh check
Change type
Basic information
Testing
Offline Build CI (label-based)
Add one or more labels to trigger offline builds:
build-default- Full production build (ansible, terraform, all packages)build-demo- Demo/WIAB buildbuild-min- Minimal build (fastest, essential charts only)build-all- Run all three buildsNote: No builds run by default. Add a label to trigger CI.
Tracking
changelog.dKnowledge Transfer
Motivation
Objective
Reason
Use case