Skip to main content

Proxmox

  • Running a MacOS 14 Sonoma VM in ProxMox VE

  • Remove No valid subscription popup

    • /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
      • if (res === null || res === undefined || !res || res
            .data.status.toLowerCase() !== 'active' && false)
        
    • systemctl restart pveproxy
  • Create bridge interface

    • cat > /etc/network/interfaces <<EOF
      auto lo
      iface lo inet loopback
      
      auto eth0
      iface eth0 inet static
          address 123.123.123.123/24
          gateway 123.123.123.254
      
      auto vmbr0
      iface vmbr0 inet static
          address 192.168.3.1/24
          bridge-ports none
          bridge-stp off
          bridge-fd 0
      
          post-up echo 1 > /proc/sys/net/ipv4/ip_forward
          post-up iptables -t nat -A POSTROUTING -s '192.168.3.0/24' -o eth0 -j MASQUERADE
          post-down iptables -t nat -D POSTROUTING -s '192.168.3.0/24' -o eth0 -j MASQUERADE
      
      source /etc/network/interfaces.d/*
      EOF