-
Notifications
You must be signed in to change notification settings - Fork 17
win_installation
Download the MSI package into C:\
:
https://github.com/OpenNebula/one-apps/releases/download/v6.8.1/one-context-6.8.1.msi
Or execute this command in PowerShell:
(New-Object Net.WebClient).DownloadFile("https://github.com/OpenNebula/one-apps/releases/download/v6.8.1/one-context-6.8.1.msi", "C:\one-context-6.8.1.msi")
The Windows Guest VMs require the OpenSSH server to run. To install the server:
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Creating Windows images using Packer enables consistent and automated image creation. This guide outlines the steps to prepare the environment and build the images locally.
Acquire the installation ISO for the desired Windows version:
- Windows 10/11 Home: Download from the official Microsoft website.
- Windows Server: Download evaluation versions from the Microsoft Evaluation Center for testing and non-production use.
Save the ISO file in the iso
directory.
After downloading the ISO:
- Open the
variables.auto.pkrvars.hcl
file. - Update the following fields with the ISO details:
-
iso_url
: Path to the downloaded ISO file. -
iso_checksum
: SHA256 checksum of the ISO.
-
Next, obtain the VirtIO drivers for creating Windows images:
- Download the stable virtio-win ISO from the VirtIO GitHub repository.
- Place the drivers in the
iso
directory (ensure that the file is renamed tovirtio-win.iso
, as the Packer script expects this specific filename).
Prepare necessary context files for Windows images:
make context-windows
Windows images can be created using the make
command. For example, to create a Windows 10 Home image, run the following command:
sudo make windows10Home
By default, the administrator account used throughout the build process remains active after the setup is complete. If you wish to disable the administrator account, you can use the disable_administrator
variable, which is defined in the variables.pkr.hcl
file.
You can monitor the entire build process in real time by connecting to a VNC session. During the build, Packer will provide an IP:PORT address in the logs. Use this address to connect to the VNC server and observe the Windows installation progress as it happens.
Once the build completes, the resulting Windows image will be saved in the export directory.
- OpenNebula Apps Overview
- OS Appliances Update Policy
- OneApps Quick Intro
- Build Instructions
- Linux Contextualization Packages
- Windows Contextualization Packages
- OneKE (OpenNebula Kubernetes Edition)
- Virtual Router
- Overview & Release Notes
- Quick Start
- OpenRC Services
- Virtual Router Modules
- Glossary
- WordPress
- Harbor Container Registry
- MinIO
- Ray AI
- Development