Open ChandonPierre opened 1 year ago
yeah, what is going on here??? This is not correct and needs to be updated! Thanks for creating this issue @ChandonPierre.
Workaround for now, set a 30 char password and then after build change it what you really need.
Maximum password length appears to be hardcoded to
20
:https://github.com/cloudbase/cloudbase-init/blob/912eea88ed13fdb8abf62e4b455e19a18c21df81/cloudbaseinit/osutils/windows.py#L1697-L1698
Modern/currently supported versions of Windows should be able to accept password lengths of 128 characters.