Windows 2012 R2 Cloud-Init

Oct 25, 2017
6
1
3
54
Has anyone been able to get Windows 2012 R2 Cloud-Init to work with Proxmox 5.2?

If so, did you build your image? What version of Cloud-Init? Any other guidance on this issue?
 
I just tried to build my own image and set the drive to citype: configdrive2 but for some reason its not working
in the debug output it cant open the iso I m not sure why yet
If I find anything I will let you know
 
OK finally go somewhere the problem is Windows Cloud init cant find the configure drive


I made my own cloud-init drive with a drive label config-2
and a layout like
openstack






if label and label.lower() == CONFIG_DRIVE_LABEL and \
os.path.exists(os.path.join(drive,
'openstack\\latest\\'
'meta_data.json')):
LOG.info('Config Drive found on %s', drive)
return True
return False
 
sorry about that I posted when I had not finished and cant see how to remove
any why I made my down CD attached it to windows and it works

The layout is like
openstack/latest
and there is a meta_data.json in the latest folder

Now it finds the drive
INFO cloudbaseinit.metadata.services.osconfigdrive.windows [-] Config Drive found on D:\

They look for
os.path.exists(os.path.join(drive,
'openstack\\latest\\'
'meta_data.json')):
and a label of config-2 or upper case version

now when I mount the one created by Proxmox it creates the correct label
BUT the directories are
OPENSTAC/LATEST
and the file is
META_DAT.JSO

So I m 99% sure this is the problem that it does not work
can we change the source code somewhere so when it creates the ISO it does not use those DOS names ?

Please :-) I know you do not support the windows but this will help big time
 

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!