Browsed by
Category: vCenter

VMware Firstboot Network Configuration Script For Ubuntu

VMware Firstboot Network Configuration Script For Ubuntu

🧭 Goal This script configures static network settings (hostname, IP address, subnet, gateway, DNS) automatically on the first boot of a VMware virtual machine. It pulls values passed via VMware’s guestinfo properties and applies them using Netplan. 🛠️ Prerequisites Requirement Description OS Ubuntu 18.04+ (using Netplan) VMware Tools open-vm-tools or equivalent must be installed VMware GuestInfo Settings Must set guestinfo.labvm.* via vSphere or cloud-init 📦 Input Parameters via guestinfo Set the following advanced options in vSphere or through OVF: Key…

Read More Read More

Create role and assign global permissions in vCenter or VCSA

Create role and assign global permissions in vCenter or VCSA

This script will help you to create a new role and assign permission to the role. Please create a JSON file before executing the script as below and then you can execute the script.