Terraform code to provision Rancher Server 2.x on RencherOS in vSphere. VM is created by cloning from a RancherOS template. A cloud-config template is used to provide static IP address and other configuration.
- Download the RancherOS OVA appliance from: -TODO-
- Import into vSphere ("Deploy OVF template...)
- Mark the resulting VM as template ("Convert to template")
- Note the name/path of the template which must be provided to Terraform
- Copy the
terraform.tfvars.example
toterraform.tfvars
and adapt to match your environment - Specify the static IP configuration (
guest_static_ip
,guest_default_gateway
) - Adapt the cloud-config template (
files/cloud-config.tpl
) to your needs - Run
terraform plan
- Run
terraform apply