Skip to content

This script automates the creation of a Windows VM on Proxmox, customizing it with autounattend.xml for seamless installation and VirtIO drivers for optimal performance. After VM setup, you can complete the FlareVM installation using a provided PowerShell script for further configuration.

License

Notifications You must be signed in to change notification settings

flavioscg/proxmox-automated-flarevm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxmox automated Windows setup for FlareVM

Overview

This script automates the process of creating a Windows virtual machine on Proxmox, complete with custom configurations and driver installations, making it ready for FlareVM. The script mounts a Windows ISO, customizes it with autounattend.xml for a smooth installation, and sets up necessary VirtIO drivers for optimal performance in a Proxmox environment. Following VM creation, you’ll be able to complete the FlareVM installation with the provided PowerShell script.

Requirements

  • Git installed on your Proxmox node
  • Internet connection – Internet access is necessary for script downloads during the FlareVM setup, and it is a fundamental requirement for FlareVM’s installation process.
  • Windows 10 Official ISO in the same directory as the other repository files. You can find the iso image at https://www.microsoft.com/en-gb/software-download/windows10iso or https://os.click/.
  • Patience & Coffee ☕️ – This process will take some time!

Steps

  1. Clone the repository to get all necessary files. Clone the repository using the following command:
git clone https://github.com/flavioscg/proxmox-automated-flarevm.git

Navigate into the project directory:

cd Proxmox-automated-flarevm

Set the correct execution permissions for the start.sh script:

chmod +x start.sh
  1. Run the script and answer the prompts:
./start.sh

The script will ask for the ISO name, VM ID, RAM, cores, and disk size. Note: At least 60 GB is required to meet FlareVM's needs.

  1. Go to the created and started VM, you should be presented with the disk selection screen. You won't see any disk because you need to load the VirtIO drivers first. Click Load, then OK, and select the VirtIO drivers.

VirtIO Driver Screenshot

If you don't see any drivers, try clicking Rescan.

  1. Choose the available disk created in the initial configuration and start the Windows installation.

HDD Selection Screenshot

  1. Continue with the installation and wait for the process to complete. Once done, you will find the install-flarevm.ps1 script on the desktop.

  2. Run the post-installation

  • Open PowerShell as Administrator PowerShell Screenshot

  • Move to the Desktop directory

cd Desktop
  • Run the pre-FlareVM script:
.\pre-flarevm.ps1

The script will disable Antimalware and Windows Update, and then launch the FlareVM installation. Follow the on-screen instructions.

  1. Final Snapshot: Create a snapshot of the VM for future restores. ⚠️

Useful links:

This script provides an efficient, hands-off installation, simplifying the initial Windows and FlareVM setup process for Proxmox VMs.

About

This script automates the creation of a Windows VM on Proxmox, customizing it with autounattend.xml for seamless installation and VirtIO drivers for optimal performance. After VM setup, you can complete the FlareVM installation using a provided PowerShell script for further configuration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published