Modifying Kyndryl Cloud Uplift VMs and environments created by Vagrant
This article provides instructions for modifying existing Kyndryl Cloud Uplift environments and VMs that have been created by Vagrant.
Contents
Changing the settings for a VM
To edit the VM CPU and RAM settings
- Edit the
box.cpuandbox.ramsettings in the VM definition of the Vagrantfile. For instructions, see Customizing a Vagrantfile. - Use
vagrant reloadto reload the existing environment.
Adding a VM to an environment
To add a VM
- Add the VM definition to the Vagrantfile. For instructions, see Customizing a Vagrantfile.
- Use
vagrant upto start the new VM and add it to the existing environment.
Removing VMs from an environment
To remove a VM
- Use
vagrant destroy <vm-name>to delete the VM. - Remove the VM definition from the Vagrantfile.
Sharing an environment with a sharing portal
The Kyndryl Cloud Uplift Vagrant provider has basic support for sharing portals. Publishing an environment gives full anonymous access to the Kyndryl Cloud Uplift environment to anyone with the URL (and optional password). A sharing portal provides browser-based access to a shared view of all VMs in the environment—including details, thumbnails, and desktop access using the Secure Remote Access (SRA) browser client. For more information about sharing portals, see Sharing VMs and environments with sharing portals.
You can set a password (See Vagrant Commands, Password). You can revoke anonymous access by deleting the sharing portal with vagrant publish-url delete (Kyndryl Cloud Uplift users with appropriate permissions can still access the environment through the Kyndryl Cloud Uplift UI).
Syncing local folders with VM folders
Kyndryl Cloud Uplift supports Vagrant’s NFS synced folders.
To use NFS-synched folders
- Add
vm.networksettings in the VM definition of the Vagrantfile. For instructions, see Enable NFS synced folders. - Use
vagrant reloadto reload the existing environment.
Adding port forwarding
To add port forwarding to a VM
- Add
vm.networksettings in the VM definition of the Vagrantfile. For instructions, see Enable port forwarding. - Use
vagrant reloadto reload the existing environment.