Serial port path/address configuration in snapshots...

12 views
Skip to first unread message

decimo...@gmail.com

unread,
Dec 6, 2018, 12:54:42 PM12/6/18
to Vagrant
I moved the vagrantfile folder (vagrant init) from e:/ to c:/ in windows. Now 'vagrant snapshot restore XXX' is throwring 
Stderr: VBoxManage.exe: error: RawFile#0 failed to create the raw output file E:/Proyectos/do-sf2-dev/ubuntu-xenial-16.04-cloudimg-console.log (VERR_PATH_NOT_FOUND)
 errors. The restore works, but it cannot be booted.

It seems that the serial port config is the culprit. In virtualbox.exe I can manually edit it under "config > serialports > port1 > path/address" and it can be booted again.

Anyways, anytime I want to restore a snapshot, I have to redo this procedure. It seems to me, that vagrant keeps references to the old e:/ path somewhere, perhaps globally or per snapshot.

Any ideas on how to solve this?

Alvaro Miranda Aguilera

unread,
Dec 8, 2018, 9:16:40 AM12/8/18
to vagra...@googlegroups.com
vagrant destroy and up are the best way to have clean environments



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/e0fe7db0-248c-4d47-ae98-e3595f906a28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages