https://rancher.com/ logo
#vsphere
Title
# vsphere
a

adamant-kite-43734

01/17/2023, 10:38 PM
This message was deleted.
m

modern-television-79263

01/17/2023, 10:43 PM
For the record, in my node template I’m setting the Cloud Init URL to a yaml file hosted on a server with this config:
Copy code
#cloud-config
runcmd:
- ["sudo", "mkfs.ext4", "/dev/sda"]
- ["sudo", "ros", "install", "-d", "/dev/sda", "--no-reboot", "-c", "/var/lib/rancher/conf/cloud-config.yml"]
- ["sudo", "reboot"]
rancher:
  sysctl:
    vm.max_map_count: 2621444
I need this because I want to use persistent storage via a vmdk disk, I provision a 20GB OS disk for all of my nodes.
I also don’t want to care and feed VMware OS templates or have to build my own - so booting this is fast and easy.
.
I have this GIT issue open here for adding in the autoformat feature back fro VMware: https://github.com/burmilla/os/issues/149
85 Views