# Contextualization not passing password to VM

**URL:** <https://forum.opennebula.io/t/contextualization-not-passing-password-to-vm/10709>\
**Category:** Product Support\
**Created:** [July 14, 2022, 12:54pm UTC](https://forum.opennebula.io/t/contextualization-not-passing-password-to-vm/10709 "2022-07-14T12:54:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbernardes](https://avatars.discourse-cdn.com/v4/letter/g/c67d28/32.png) [@gbernardes](https://forum.opennebula.io/u/gbernardes)\
**Post date:** [July 14, 2022, 12:54pm UTC](https://forum.opennebula.io/t/contextualization-not-passing-password-to-vm/10709/1 "2022-07-14T12:54:10Z")

</div>

Hi,

I am using Opennebula 6.4.0, and I noticed that when creating VMs not accept root password defined in contextualization.

If I mount contextualization CD in VM, verify that password was not passed to VM:

```auto
cat /cd/context.sh
  ...
NETWORK='YES'
PASSWORD='$PASSWORD'

```

Has there been any change to that? I define this password in Sustone-\> Templates-\> Context-\> User Inputs:  
Name: PASSWORD  
Type: password

---

<div class="post-metadata">

**Author:** ![dclavijo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dclavijo/32/5265_2.png) [@dclavijo](https://forum.opennebula.io/u/dclavijo)\
**Post date:** [July 14, 2022, 1:16pm UTC](https://forum.opennebula.io/t/contextualization-not-passing-password-to-vm/10709/2 "2022-07-14T13:16:42Z")

</div>

Probably what doesn’t work is the interaction with the user input. There is [a bug](https://github.com/OpenNebula/one/issues/5918) that might be related to it. Try setting the password with a static value and see if it works.

---

<div class="post-metadata">

**Author:** ![gbernardes](https://avatars.discourse-cdn.com/v4/letter/g/c67d28/32.png) [@gbernardes](https://forum.opennebula.io/u/gbernardes)\
**Post date:** [July 14, 2022, 1:34pm UTC](https://forum.opennebula.io/t/contextualization-not-passing-password-to-vm/10709/3 "2022-07-14T13:34:17Z")

</div>

It seems to me to be a different problem than the above bug.

On the “Info” page, under “Attributes” it shows me the PASSWORD variable with the correct value. But in “Conf-\>CONTEXT” it shows in the PASSWORD a string (it looks like base64, but decoded is a binary) that is fixed, regardless of the password placed.

---

<div class="post-metadata">

**Author:** ![pczerny](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/pczerny/32/6224_2.png) [@pczerny](https://forum.opennebula.io/u/pczerny)\
**Post date:** [July 18, 2022, 9:06pm UTC](https://forum.opennebula.io/t/contextualization-not-passing-password-to-vm/10709/4 "2022-07-18T21:06:23Z")

</div>

There were several issues with encrypted attributes solved in [this issue](https://github.com/OpenNebula/one/issues/5559), including encrypted attributes with user inputs. I think it covers your case. Resolved in release 6.4.1
