New Question

Revision history [back]

click to hide/show revision 1
initial version

First logon behaviour is set to always but password will not prompted to be changed

Hi.

I'm using cloudbase-init with NocloudConfigDrive metadata service. Below is my cloudbase-init.conf file and as mentioned in this ref if I want to change the password at next login all I need to do is to set first_logon_behaviour value to always. But whenever I enter the password I never see any prompt to change it.

[DEFAULT] username=Administrator groups=Administrators injectuserpassword=true firstlogonbehaviour=always bsdtarpath=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\bin\bsdtar.exe mtoolspath=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\bin\ verbose=true debug=true renameadminuser=true logdir=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\log\ logfile=cloudbase-init.log defaultloglevels=comtypes=INFO,suds=INFO,iso8601=WARN loggingserialportsettings= mtuusedhcpconfig=true ntpusedhcpconfig=true localscriptspath=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\LocalScripts\ metadataservices=cloudbaseinit.metadata.services.nocloudservice.NoCloudConfigDriveService plugins=cloudbaseinit.plugins.common.networkconfig.NetworkConfigPlugin,cloudbaseinit.plugins.common.sshpublickeys.SetUserSSHPublicKeysPlugin,cloudbaseinit.plugins.common.mtu.MTUPlugin,cloudbaseinit.plugins.common.userdata.UserDataPlugin,cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin,cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin,cloudbaseinit.plugins.windows.extendvolumes.ExtendVolumesPlugin,cloudbaseinit.plugins.windows.updates.WindowsAutoUpdatesPlugin allowreboot=true stopserviceonexit=false

This is my user-data file.

cloud-config

users: - name: Administrator primary_group: Administrators passwd: DummyPass inactive: false