Voilà, install macOS on ANY Computer! This is really and magic easiest way! PVE 7.XX ~ 8.XX Support and macOS High Sierra ~ macOS Sequoia Support.
Go to file
luci-digital dd717babeb
Merge pull request #5 from luci-digital/claude/proxmox-dell-r730-reinstall-01BtBdM3dFRpQiMBa6Rdt9Lc
Claude/proxmox dell r730 reinstall 01 bt bd m3d f rp qi m ba6 rdt9 lc
2025-11-23 09:39:51 -07:00
.claude Complete infrastructure refactoring with Terraform, Makefile, and clean architecture 2025-11-22 04:47:39 +00:00
.github/workflows Add GitHub Actions workflow for Python package 2025-11-19 20:12:13 -07:00
Artefacts Include backup of pve-q35-4.0.cfg 2025-04-25 16:58:53 -03:00
EFI Improvements in opencore-osx-proxmox-vm.iso 2025-04-24 10:23:27 -03:00
docs Complete infrastructure refactoring with Terraform, Makefile, and clean architecture 2025-11-22 04:47:39 +00:00
router-configs Integrate IPv6 BGP routing with AS394955 and prefix 2602:F674::/48 2025-11-22 02:39:02 +00:00
scripts Add Proxmox with macOS integration for Dell R730 ORION deployment 2025-11-20 00:00:20 +00:00
shell-config Complete infrastructure refactoring with Terraform, Makefile, and clean architecture 2025-11-22 04:47:39 +00:00
systemd Add Proxmox with macOS integration for Dell R730 ORION deployment 2025-11-20 00:00:20 +00:00
terraform Complete infrastructure refactoring with Terraform, Makefile, and clean architecture 2025-11-22 03:51:25 +00:00
tools Auto generate new Serial numbers! 2025-07-23 09:56:02 -04:00
vm-configs Add ORION Hybrid Architecture - Combining best features from Proxmox and NixOS 2025-11-20 04:10:21 +00:00
.gitignore Add Claude Code integration with enterprise-grade configuration 2025-11-22 04:31:53 +00:00
.gitmodules Auto generate new Serial numbers! 2025-07-23 09:56:02 -04:00
AI_MAZE_ARCHITECTURE.md Add AI Maze security architecture with Backstage + Vapor 2025-11-22 01:08:24 +00:00
ARCHITECTURE.md Complete infrastructure refactoring with Terraform, Makefile, and clean architecture 2025-11-22 04:47:39 +00:00
ARCHITECTURE_REVIEW.md Add AI Maze security architecture with Backstage + Vapor 2025-11-22 03:43:22 +00:00
CHANGELOG.md Upgrade to Opencore 0.7.9 2022-03-09 11:29:57 -03:00
INFRASTRUCTURE_AS_CODE_ARCHITECTURE.md Add comprehensive Infrastructure as Code foundation with Terraform 2025-11-22 03:19:01 +00:00
IPV6_ROUTING_INTEGRATION.md Integrate IPv6 BGP routing with AS394955 and prefix 2602:F674::/48 2025-11-22 02:39:02 +00:00
Makefile Integrate ProxmoxVE helper-scripts and create comprehensive architecture documentation 2025-11-22 04:06:51 +00:00
README.md Complete infrastructure refactoring with Terraform, Makefile, and clean architecture 2025-11-22 04:47:39 +00:00
install.sh Auto generate new Serial numbers! 2025-07-23 09:56:02 -04:00
orion-config.json Add ORION Hybrid Architecture - Combining best features from Proxmox and NixOS 2025-11-20 04:10:21 +00:00
setup Auto generate new Serial numbers! 2025-07-23 09:56:02 -04:00

README.md

🚀 ORION - AI-First Infrastructure Stack

Dell R730 Proxmox VE + Terraform + Kubernetes + AI Agents

GitHub stars GitHub forks GitHub license GitHub issues


🎯 ORION v2.0 Architecture

Complete Infrastructure as Code stack for Dell PowerEdge R730, designed from the ground up as an AI-first, agent-driven architecture with multi-layer infrastructure.

What's New in v2.0

  • Infrastructure as Code - Terraform for VMs, Ansible for configuration
  • LXC AI/ML Stack - Ollama, LiteLLM, FlowiseAI via helper scripts (5-minute deployment)
  • Kubernetes on K3s - Lightweight orchestration for Backstage + Vapor API
  • Multi-Agent Architecture - Proper 4-layer AI stack with specialized agents
  • IPv6 BGP Routing - AS394955 with 2602:F674::/48 prefix
  • Security Through Obscurity - "AI Maze" using Backstage + Swift/Vapor
  • One-Command Deployment - Complete stack via Makefile
  • 396 Helper Scripts - Automated LXC container deployment

🚀 Quick Start

# Clone repository
git clone https://github.com/luci-digital/luci-macOSX-PROXMOX.git
cd luci-macOSX-PROXMOX

# Configure Terraform
cp terraform/terraform.tfvars.example terraform/terraform.tfvars
nano terraform/terraform.tfvars  # Add Proxmox API token

# Deploy complete stack
make deploy-full

# Or deploy in phases:
make apply              # Deploy VMs with Terraform
make deploy-ai-stack    # Deploy AI/ML LXC containers
make configure          # Configure VMs with Ansible
make k8s-deploy         # Deploy K8s workloads

Documentation:

🏗️ Architecture Overview

Dell R730 ORION (56 cores, 384GB RAM)
├─ Proxmox VE 8.x (Hypervisor)
│
├─ Infrastructure VMs (Terraform)
│  ├─ VM 200: Router (BIRD2 BGP, IPv6, Firewall) - 8C/32GB
│  ├─ VM 300: AI Coordinator (Multi-agent orchestration) - 4C/16GB
│  ├─ VM 500: NetBox (IPAM) - 4C/8GB
│  └─ VM 600-603: K3s Cluster (1 master + 3 workers) - 16C/56GB
│
├─ LXC Containers (Helper Scripts - 5 min deploy)
│  ├─ LXC 1000: Ollama (LLM inference)
│  ├─ LXC 1001: OpenWebUI (ChatGPT-like UI)
│  ├─ LXC 1002: LiteLLM (API gateway)
│  ├─ LXC 1003: FlowiseAI (Visual agent builder)
│  ├─ LXC 1004: PostgreSQL + pgvector
│  ├─ LXC 1005: Redis
│  ├─ LXC 1006: Minio (S3 storage)
│  ├─ LXC 1007: Nginx Proxy Manager
│  └─ LXC 1008: Wireguard VPN
│
└─ Kubernetes Workloads (K3s)
   ├─ Infrastructure: Prometheus, Grafana, Cilium, Longhorn
   ├─ Applications: Backstage, Vapor API (Swift)
   └─ AI Agents: Infrastructure, Network, Security, DevOps

📦 Repository Structure

luci-macOSX-PROXMOX/
├── terraform/              # Infrastructure as Code
│   ├── main.tf            # VM definitions
│   ├── variables.tf       # Variables
│   └── outputs.tf         # Outputs
├── ansible/               # Configuration management
│   ├── playbooks/        # Ansible playbooks
│   └── roles/            # Ansible roles
├── kubernetes/            # K8s manifests
│   ├── infrastructure/   # Core services
│   ├── applications/     # Apps (Backstage, Vapor)
│   └── ai-agents/        # AI agents
├── router-configs/        # BIRD2/GoBGP configs
├── docs/                  # Documentation
│   ├── deployment-guide/
│   ├── ai-agent-design/
│   └── reference/        # Archived v1.0 docs
├── Makefile              # One-command deployment
├── ARCHITECTURE.md       # Main architecture doc
└── README.md             # This file

🌟 Key Features

Infrastructure as Code: Declarative, reproducible infrastructure via Terraform + Ansible

LXC for AI/ML: 5-minute deployment vs hours of manual K8s configuration

4-Layer AI Stack: Proper architecture - Inference → Orchestration → Agents → Coordinator

Security "AI Maze": Backstage frontend + Swift/Vapor API to confuse automated scanners

IPv6 BGP: Production AS394955, peering with Telus AS6939, prefix 2602:F674::/48

Hybrid Orchestration: VMs for infra, LXC for AI/ML, K8s for apps - right tool for the job

396 Helper Scripts: Community-maintained automation for everything from databases to VPNs

🎯 What Makes This Different?

Aspect v1.0 (Old) v2.0 (Current)
Deployment 4 conflicting scripts Single Makefile path
AI Stack Manual K8s manifests 5-min LXC deployment
Infrastructure Bash scripts Terraform + Ansible
Documentation Scattered Consolidated
Architecture Ambiguous 4-layer AI stack
Deployment Time 4-6 hours ~30 minutes

🍎 Original OSX-PROXMOX Guide

v15 - Sequoia

The following guide provides the original OSX-PROXMOX installation method for running macOS on Proxmox VE with AMD or Intel hardware.


🛠 Installation Guide

  1. Install a FRESH/CLEAN version of Proxmox VE (v7.0.XX ~ 8.4.XX) - just follow the Next, Next & Finish (NNF) approach.
    • Preliminary support for Proxmox VE V9.0.0 BETA.
  2. Open the Proxmox Web Console → Navigate to Datacenter > YOUR_HOST_NAME > Shell.
  3. Copy, paste, and execute the command below:
/bin/bash -c "$(curl -fsSL https://install.osx-proxmox.com)"

🎉 Voilà! You can now install macOS! osx-terminal

🔧 Additional Configuration

Install EFI Package in macOS (Disable Gatekeeper First)

sudo spctl --master-disable

🍏 macOS Versions Supported

macOS High Sierra - 10.13
macOS Mojave - 10.14
macOS Catalina - 10.15
macOS Big Sur - 11
macOS Monterey - 12
macOS Ventura - 13
macOS Sonoma - 14
macOS Sequoia - 15


🖥 Proxmox VE Versions Supported

v7.0.XX ~ 8.4.XX

🔄 OpenCore Version

  • April/2025 - 1.0.4 → with SIP Enabled, DMG only signed by Apple and all features of securities

☁️ Cloud Support (Run Hackintosh in the Cloud!)

  • 🌍 VultR
  • 📺 Video Tutorial (Enable captions for better understanding)
  • Now has configurable bridges, and can add as many bridges and specify the subnet for them.

⚠️ Disclaimer

🚨 FOR DEVELOPMENT, STUDENT, AND TESTING PURPOSES ONLY.

I am not responsible for any issues, damage, or data loss. Always back up your system before making any changes.


📌 Requirements

Since macOS Monterey, your host must have a working TSC (timestamp counter). Otherwise, if you assign multiple cores to the VM, macOS may crash due to time inconsistencies. To check if your host is compatible, run the following command in Proxmox:

dmesg | grep -i -e tsc -e clocksource

Expected Output (for working hosts):

clocksource: Switched to clocksource tsc

Problematic Output (for broken hosts):

tsc: Marking TSC unstable due to check_tsc_sync_source failed
clocksource: Switched to clocksource hpet

🛠 Possible Fixes

  1. Disable "ErP mode" and all C-state power-saving modes in your BIOS. Then power off your machine completely and restart.
  2. Try forcing TSC in GRUB:
    • Edit /etc/default/grub and add:
      clocksource=tsc tsc=reliable
      
    • Run update-grub and reboot (This may cause instability).
  3. Verify the TSC clock source:
    cat /sys/devices/system/clocksource/clocksource0/current_clocksource
    
    The output must be tsc.

Read More


🔍 Troubleshooting

High Sierra & Below - Recovery Server Could Not Be Contacted

If you encounter this error, you need to switch from HTTPS to HTTP in the installation URL:

  1. When the error appears, leave the window open.

  2. Open Installer Log (Window > Installer Log).

  3. Search for "Failed to load catalog" → Copy the log entry.

  4. Close the error message and return to macOS Utilities.

  5. Open Terminal, paste the copied data, and remove everything except the URL (e.g., https://example.sucatalog).

  6. Change https:// to http://.

  7. Run the command:

    nvram IASUCatalogURL="http://your-http-url.sucatalog"
    
  8. Quit Terminal and restart the installation.

Reference & More Details

Problem for GPU Passthrough

If you see an Apple logo and the bar doesnt move on your external display, you need to disable “above 4g decoding” in the motherboards BIOS.

In some environments it is necessary to segment the IOMMU Groups to be able to pass the GPU to the VM.

  1. Add the content pcie_acs_override=downstream,multifunction pci=nommconf in the file /etc/default/grub at the end of the line GRUB_CMDLINE_LINUX_DEFAULT;
  2. After changing the grub file, run the command update-grub and reboot your PVE.

🎥 Demonstration (in Portuguese)

📽️ Watch on YouTube
(Enable auto-translate captions for English subtitles!)


🎖 Credits

  • OpenCore/Acidanthera Team - Open-source bootloader
  • Corpnewt - Tools (ProperTree, GenSMBIOS, etc.)
  • Apple - macOS
  • Proxmox - Fantastic virtualization platform & documentation

🌎 Join Our Community - Universo Hackintosh Discord

💬 Join Here!