How to automatically inject OS_AUTH parameter to instances

asked 2018-02-24 04:09:35 -0600

phillu gravatar image

Hey there,

i want all booted nova instances in my OpenStack Pike installation to have the OS_USERNAME, OS_PASSWORD, ... etc parameters of the owner of the instance somehow injected to it. As a user, i can then just use the OS API from my instances without needing to e.g. manually copy & paste the parameters to the machine.

I already looked at the nova vendordata with DynamicJSON but was wondering if there is another possibility.

Important: The user should not need to be involved in this mechanism. I know i can inject those variables with a userdata script.

edit retag flag offensive close merge delete