Hi guys, Any thoughts on this?
On Wed, 28 Aug 2024 at 12:46, Muhammad Hanis Irfan Mohd Zaid < [email protected]> wrote: > Hi all, > > I've been scratching my head trying to get cloud-init working with > CloudStack to perform an instance root password reset. You can find the > steps I did to configure my Rocky Linux 9.4 template here: > https://pastebin.com/KPiyFGyw > > So initially when the instance first booted up, the randomly generated > password by CloudStack works with the root account. But, I've tried > shutting down the instance and using the "Reset Password" feature. After > booting it back up, the new randomly generated password doesn't work as > expected. > > Running the bash script (/usr/local/bin/cloud/reset_creds.sh) also doesn't > work. You can the logs here: > cloud-init.log = https://pastebin.com/TvABQ7wF > cloud-init-output.log = https://pastebin.com/dsQM5CCJ > > I can actually just download cloud images provided by Rocky for example > but would like to learn to create one myself. > > Thanks >
