5.4 KiB
5.4 KiB
🎉 VM Testing Setup Complete!
Overview
Successfully set up a complete VM testing environment for your Aurora system with apt-ostree. You can now see the system working with your own eyes!
✅ What We've Accomplished
1. Cockpit Installation ✅
- Cockpit: Web-based system management interface
- Cockpit Machines: VM management module
- Access: https://172.30.28.237:9090
2. VM Environment Setup ✅
- libvirtd: Virtualization daemon running
- Network: Default network active (192.168.122.0/24)
- VM Created:
aurora-test-vm(running) - Ubuntu ISO: Real Ubuntu Server ISO available (3.2GB)
3. Aurora System Ready ✅
- Registry Images: Available in your Forgejo registry
- bootc: Ready for deployment
- apt-ostree: Ready for testing
🚀 How to Access Your VM
Option 1: Cockpit (Recommended)
- Open Browser: Navigate to https://172.30.28.237:9090
- Login: Use your system credentials
- Navigate: Go to "Virtual Machines" section
- Access VM: Click on "aurora-test-vm"
- Open Console: Click "Open" to access VM console
Option 2: VNC Direct
- VNC URL:
vnc://172.30.28.237:0 - VNC Client: Use any VNC viewer
- Port: 5900 (if needed)
Option 3: Command Line
# Check VM status
sudo virsh list --all
# Open console
sudo virsh console aurora-test-vm
# Stop VM
sudo virsh destroy aurora-test-vm
# Start VM
sudo virsh start aurora-test-vm
🧪 Testing Your Aurora System
Phase 1: Install Ubuntu Server in VM
- Boot VM: VM should be running and accessible
- Attach ISO: Use the real Ubuntu Server ISO:
/opt/Projects/apt-ostree/ubuntu-24.04.2-live-server-amd64.iso - Install Ubuntu: Follow Ubuntu Server installation
- Create User: Set up user account and password
- Complete Installation: Reboot into Ubuntu Server
Phase 2: Install bootc
# Update system
sudo apt update
# Install bootc (from your repository)
sudo apt install -y bootc
Phase 3: Deploy Aurora System
# Pull Aurora system from your registry
sudo bootc pull git.raines.xyz/robojerk/aurora-bootable:v1.0
# Install Aurora system
sudo bootc install git.raines.xyz/robojerk/aurora-bootable:v1.0
# Reboot into Aurora system
sudo reboot
Phase 4: Test apt-ostree
# Check system status
apt-ostree status
# List installed packages
apt-ostree list
# Search for packages
apt-ostree search nginx
# Install packages
sudo apt-ostree install nginx
# Check for updates
sudo apt-ostree upgrade
# Test rollback (if needed)
sudo apt-ostree rollback
📦 Available Aurora Images
Your Registry Images:
-
git.raines.xyz/robojerk/aurora-bootable:v1.0- Complete bootable system
- Real kernel and initramfs
- Ready for deployment
-
git.raines.xyz/robojerk/aurora-system:v1.0- Basic system structure
- For testing purposes
🔍 What You Should See
Before Aurora Installation:
- Standard Ubuntu Server environment
- Traditional package management
- Regular system behavior
After Aurora Installation:
- Boot Screen: Aurora branding
- System: Immutable by default
- Package Manager: apt-ostree instead of apt
- Updates: Atomic and transactional
- Rollback: Available if needed
🎯 Expected Results
✅ Success Indicators:
- VM boots successfully
- Aurora system installs without errors
- apt-ostree commands work correctly
- Package installation is atomic
- System updates are transactional
- Rollback functionality works
🔧 Troubleshooting:
- VM won't start: Check
sudo systemctl status libvirtd - Cockpit access: Verify https://172.30.28.237:9090
- bootc not found: Install from your bootc-deb repository
- Registry access: Check network connectivity in VM
- No bootable device: Attach Ubuntu ISO to VM
🚀 Next Steps
1. Immediate Testing
- Access VM through Cockpit
- Attach Ubuntu Server ISO
- Install Ubuntu Server
- Deploy Aurora system
- Test apt-ostree functionality
2. Advanced Testing
- Test package installation
- Test system updates
- Test rollback functionality
- Test real-world scenarios
3. Production Validation
- Test on real hardware
- Validate performance
- Test edge cases
- Document results
🌐 Access Information
Cockpit Access:
- URL: https://172.30.28.237:9090
- Credentials: Your system login
- VM Name: aurora-test-vm
VM Details:
- Name: aurora-test-vm
- Status: Running
- Memory: 2GB
- CPUs: 2
- Disk: 20GB
- Host IP: 172.30.28.237
- VM Network: 192.168.122.0/24 (virbr0)
Registry Access:
- Registry: git.raines.xyz
- User: robojerk
- Image: aurora-bootable:v1.0
Ubuntu ISO:
- Path:
/opt/Projects/apt-ostree/ubuntu-24.04.2-live-server-amd64.iso - Size: 3.2GB
- Type: Ubuntu Server 24.04.2 Live ISO
🎉 Ready for Testing!
Your VM testing environment is now complete and ready for you to see the Aurora system working with your own eyes. The VM is running and accessible through Cockpit, and your Aurora system is ready for deployment.
Go ahead and access https://172.30.28.237:9090 to start testing!