fog-vsphere icon indicating copy to clipboard operation
fog-vsphere copied to clipboard

Cloud-init 'runcmd' doesn't work on Linux VM

Open fatmcgav opened this issue 7 years ago • 3 comments

#34 added support for running the 'runcmd' section from cloud-init data.

However those changes don't work on Linux VMs', as they use the 'SysPrep' functionality...

Would be really good to be able to support on Linux VMs' aswell...

fatmcgav avatar Jul 12 '17 10:07 fatmcgav

As mentioned by the foreman devs here (https://groups.google.com/d/topic/foreman-dev/n1QkZF1QVxU/discussion), I'm afraid that the "runcmd" support on Linux is limited by the vmware CustomSpecs...

angystardust avatar Jul 28 '17 10:07 angystardust

Yeah, that's the case. Wondering why they designed it this way, perhaps for Windows compatibility. Not sure.

lzap avatar Dec 06 '17 09:12 lzap

Is it the same case for "write_files"?

MrMEEE avatar Dec 22 '17 09:12 MrMEEE