New Question

Revision history [back]

click to hide/show revision 1
initial version

Injecting password to Linux guests

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 ["http://169.254.169.254"] 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:

cloud-config

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

Can you help with this issue? Thanks