No description
  • Go 97.7%
  • PowerShell 2.3%
Find a file
2026-11-12 20:27:28 +00:00
cloudinit upgrade gopkg.in/yaml to v3 2024-08-03 23:59:24 +02:00
config implement resize disk 2024-08-04 00:13:19 +02:00
filesystem parse cloudinit yaml files and set windows hostname 2024-06-16 12:48:53 +02:00
log drop support for windows event log 2024-08-03 23:58:03 +02:00
windows implement resize disk 2024-08-04 00:13:19 +02:00
.gitignore fix configuring ip address if only one interface is set 2024-06-19 13:30:13 +02:00
.gitlab-ci.yml Update public.ecr.aws/docker/library/golang Docker tag to v1.27.4 2026-11-11 23:06:28 +00:00
config-example.json implement resize disk 2024-08-04 00:13:19 +02:00
go.mod Update module golang.org/x/sys to v0.50.0 2026-11-12 20:27:28 +00:00
go.sum Update module golang.org/x/sys to v0.50.0 2026-11-12 20:27:28 +00:00
install.ps1 add install instructions 2024-08-03 23:34:15 +02:00
LICENSE Add license 2024-06-16 16:34:44 +02:00
main.go implement resize disk 2024-08-04 00:13:19 +02:00
mocktail.json add mocktail config for password api test 2024-08-03 22:28:52 +02:00
Readme.md add install instructions 2024-08-03 23:34:15 +02:00
renovate.json Add renovate.json 2024-06-17 10:02:18 +00:00
Unattend.xml fix unattend config 2024-08-03 23:27:43 +02:00

Cloud-Init Windows

This is a Cloud-Init Agent for Windows. It's used to deploy VServer at Realtoxmedia. It currently sets the following settings in Windows:

  • Hostname
  • IP Addresses
  • Password

As windows needs the password in Cleartext, it cannot be set directly from the Cloud-Init configuration. We implemented a special IP, which compares the hashed password ( which is provided via Cloud-Init ), with the unencrypted password, saved in WHMCS. The Password can be found here

Installation

There is a script called install.ps1. Copy this script to the VM and execute it using powershell. It will download the latest version and register the service. After installing place the config.json in the C:\Cloud-Init folder. Now the image is prepared and you can reset it to the OOBE mode with the unattend.xml file and the following command: C:\Windows\system32\sysprep\sysprep.exe /generalize /oobe /shutdown /unattend:"C:\Cloud-Init\unattend.xml"