Injecting password to Linux guests

asked 2017-02-01 18:32:45 +0300

smesilov gravatar image

Hi Team, I have an issue with injecting password for RHEL7 Generation 2 VM running on Hyper-V Nova. I want to make it work using Dashboard. If I use "nova boot" with --meta adminpass= and cloud-init datasource is set to metadataurls [""] then password is not sent. When I use configdriveinject_password=true and cloud-init datasource as ConfigDrive then the same happens. One way I can set the password is to use this script while creating a new VM in Dashboard:


password: abcd1234 chpasswd: { expire: False } ssh_pwauth: True

Can you help with this issue? Thanks

edit retag flag offensive close merge delete