# Removed nic, added new nic and context isn't updated

**URL:** https://forum.opennebula.io/t/removed-nic-added-new-nic-and-context-isnt-updated/4007
**Category:** Product Support
**Created:** [March 21, 2017, 11:25pm UTC](https://forum.opennebula.io/t/removed-nic-added-new-nic-and-context-isnt-updated/4007 "2017-03-21T23:25:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![nicpon](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nicpon/32/4942_2.png) [@nicpon](https://forum.opennebula.io/u/nicpon)
#### Post date: [March 21, 2017, 11:25pm UTC](https://forum.opennebula.io/t/removed-nic-added-new-nic-and-context-isnt-updated/4007/1 "2017-03-21T23:25:30Z")

</div>

I had a machine built with 2 NIC’s. Then I removed both of them and add one new one. vCenter shows correctly 1 nic added, but /tmp/context.sh doesn’t have the nic info.

When I try to run updateconf on the vm and add NIC info there, even though the files is saved, every time I reopen it the NIC info is removed. What am I missing here ?

The template in Sunston contains NIC information, but it doesn’t propagate to the actual machine.

Thanks

---

<div class="post-metadata">

### Author: ![UAnton](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/uanton/32/6309_2.png) [@UAnton](https://forum.opennebula.io/u/UAnton)
#### Post date: [March 22, 2017, 8:25pm UTC](https://forum.opennebula.io/t/removed-nic-added-new-nic-and-context-isnt-updated/4007/2 "2017-03-22T20:25:59Z")

</div>

It’s old bug and not resolved.

---

<div class="post-metadata">

### Author: ![mcabrerizo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/mcabrerizo/32/4829_2.png) [@mcabrerizo](https://forum.opennebula.io/u/mcabrerizo)
#### Post date: [March 23, 2017, 3:17pm UTC](https://forum.opennebula.io/t/removed-nic-added-new-nic-and-context-isnt-updated/4007/3 "2017-03-23T15:17:55Z")

</div>

Hi nicpon!  
as Anton says there’s an [open ticket for that issue](https://dev.opennebula.org/issues/4915), and there was a similar discussion[here](https://forum.opennebula.io/t/add-second-nics-to-vm/3515/5) for other readers reading this post. Hopefully it will be solved for next release.

Cheers!

---

<div class="post-metadata">

### Author: ![nicpon](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nicpon/32/4942_2.png) [@nicpon](https://forum.opennebula.io/u/nicpon)
#### Post date: [March 23, 2017, 3:50pm UTC](https://forum.opennebula.io/t/removed-nic-added-new-nic-and-context-isnt-updated/4007/4 "2017-03-23T15:50:55Z")

</div>

Thanks guys. I have a workaround just taking content from template through sunstone and running onevm updateconf on the machine.
