Creating a windows cloud-init VM

foadk

Member
Mar 25, 2020
19
0
6
35
Hello,
I'm trying to create a windows VM with cloud-init. I've downloaded the windows 2012 r2 image from cloudbase, but I have not been able to run int successfully.
The problem is when I start the VM, it starts booting from disk, windows logo appears, but it suddenly restarts, and again same thing happens.
VM's conf file:
Code:
agent: 1
boot: c
bootdisk: scsi0
cipassword: $pass
ciuser: root
cores: 2
ide2: vmsthin:vm-384300-cloudinit,media=cdrom
ipconfig0: ip=10.0.10.123/24,gw=10.0.10.1
memory: 2048
name: test2
net0: virtio=3E:0A...,bridge=vmbr0
onboot: 0
ostype: win8
scsi0: vmsthin:vm-384300-disk-0,size=30G
scsihw: virtio-scsi-pci
smbios1: uuid=
vmgenid:
Any suggestions?
 
This might not be cloud-init related. Check if the Windows 2012 can boot properly without any extra cloud-init options.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!