apiVersion: proxmox.sankofa.nexus/v1alpha1
kind: ProxmoxVM
metadata:
  name: test-vm-instance-1
  namespace: default
spec:
  forProvider:
    node: ML110-01
    name: test-vm-instance-1
    cpu: 2
    memory: 4Gi
    disk: 50Gi
    storage: local-lvm
    network: vmbr0
    image: ubuntu-22.04-cloud
    site: us-sfvalley
    userData: |
      #cloud-config
      users:
        - name: admin
          groups: sudo
          shell: /bin/bash
          sudo: ['ALL=(ALL) NOPASSWD:ALL']
      package_update: true
      package_upgrade: true
      packages:
        - curl
        - wget
        - git
  providerConfigRef:
    name: proxmox-provider-config

