[PVE-User] Add runcmd and custom parameters in Cloudinit

José Manuel Giner jm at ginernet.com
Sat Jun 23 14:32:09 CEST 2018


Hello friends,

Would there be any possibility of adding custom options to the cloudinit?

We would like to customize the ssh configuration values, to allow SSH 
access as it is done in OpenVZ or LXC, for example:

Port 2222
PermitRootLogin yes
PasswordAuthentication yes

One option would be to execute a command on the first boot with the 
"runcmd:" parameter. Only with this we can begin to customize the system 
to our liking in an easy way.

What would be the way to do it?

Thank you!


-- 
José Manuel Giner
http://ginernet.com




More information about the pve-user mailing list