snapshot restore always provisions?

137 views
Skip to first unread message

Peter Fokkinga

unread,
Apr 3, 2016, 3:01:52 PM4/3/16
to Vagrant
Hi all,

When I execute  "vagrant snapshot restore base" in the directory that has the Vagrantfile vagrant is always running the defined provisioners.

How can I prevent this?

I tried "--no-provisioning" as described in https://www.vagrantup.com/docs/cli/snapshot.html  but
    vagrant snapshot restore --no-provisioning base
gives "An invalid option was specified. " whereas 
    vagrant --no-provisioning snapshot restore base
simply goes on with provisioning.

Even run: "once" provisioners are executed at every restore.

This is with Vagrant 1.8.1 with VirtualBox 5.0.16 on OSX

Regards, Peter

dragon788

unread,
Apr 7, 2016, 3:41:07 PM4/7/16
to Vagrant
Peter, were you literally trying --no-provisioning or just --no-provision as it is printed in their documentation? --no-provision is equivalent to the command for vagrant up and other machine control commands.
Reply all
Reply to author
Forward
0 new messages