# ๐ŸŽ‰ VM Testing Setup Complete! ## Overview 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 (Update IP on creation) ### **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)** 1. **Open Browser**: Navigate to https://172.30.28.237:9090 (Update IP on creation) 2. **Login**: Use your system credentials 3. **Navigate**: Go to "Virtual Machines" section 4. **Access VM**: Click on "aurora-test-vm" 5. **Open Console**: Click "Open" to access VM console ### **Option 2: VNC Direct** - **VNC URL**: `vnc://172.30.28.237:0` (Update IP on creation) - **VNC Client**: Use any VNC viewer - **Port**: 5900 (if needed) ### **Option 3: Command Line** ```bash # 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** 1. **Boot VM**: VM should be running and accessible 2. **Attach ISO**: Use the real Ubuntu Server ISO: `/opt/Projects/apt-ostree/ubuntu-24.04.2-live-server-amd64.iso` 3. **Install Ubuntu**: Follow Ubuntu Server installation 4. **Create User**: Set up user account and password 5. **Complete Installation**: Reboot into Ubuntu Server ### **Phase 2: Install bootc** ```bash # Update system sudo apt update # Install bootc (from your repository) sudo apt install -y bootc ``` ### **Phase 3: Deploy Aurora System** ```bash # 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** ```bash # 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:** 1. **`git.raines.xyz/robojerk/aurora-bootable:v1.0`** - Complete bootable system - Real kernel and initramfs - Ready for deployment 2. **`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** 1. Access VM through Cockpit 2. Attach Ubuntu Server ISO 3. Install Ubuntu Server 4. Deploy Aurora system 5. Test apt-ostree functionality ### **2. Advanced Testing** 1. Test package installation 2. Test system updates 3. Test rollback functionality 4. Test real-world scenarios ### **3. Production Validation** 1. Test on real hardware 2. Validate performance 3. Test edge cases 4. 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 (Update IP on creation) - **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!**