Skip to content

Instantly share code, notes, and snippets.

@purbon
Created June 9, 2016 09:13
Show Gist options
  • Save purbon/3852d18af6e76b8ff569ab47cf045ac2 to your computer and use it in GitHub Desktop.
Save purbon/3852d18af6e76b8ff569ab47cf045ac2 to your computer and use it in GitHub Desktop.
vagrant snapshot push/pop with debian host
purbon@slave-342015:~/logstash/qa$ vagrant snapshot push debian-8
==> debian-8: Snapshotting the machine as 'push_1465463427_1002'...
==> debian-8: Snapshot saved! You can restore the snapshot at any time by
==> debian-8: using `vagrant snapshot restore`. You can delete it using
==> debian-8: `vagrant snapshot delete`.
purbon@slave-342015:~/logstash/qa$ vagrant snapshot pop debian-8
==> debian-8: Forcing shutdown of VM...
==> debian-8: Restoring the snapshot 'push_1465463427_1002'...
==> debian-8: Deleting the snapshot 'push_1465463427_1002'...
==> debian-8: Snapshot deleted!
==> debian-8: Checking if box 'elastic/debian-8-x86_64' is up to date...
==> debian-8: Resuming suspended VM...
==> debian-8: Booting VM...
==> debian-8: Waiting for machine to boot. This may take a few minutes...
debian-8: SSH address: 127.0.0.1:2222
debian-8: SSH username: vagrant
debian-8: SSH auth method: private key
debian-8: Warning: Remote connection disconnect. Retrying...
debian-8: Warning: Remote connection disconnect. Retrying...
debian-8: Warning: Remote connection disconnect. Retrying...
debian-8: Warning: Remote connection disconnect. Retrying...
debian-8: Warning: Remote connection disconnect. Retrying...
==> debian-8: Machine booted and ready!
==> debian-8: Running provisioner: shell...
debian-8: Running: /tmp/vagrant-shell20160609-5725-16k1vwj.sh
==> debian-8: stdin: is not a tty
==> debian-8: Hit http://security.debian.org jessie/updates InRelease
==> debian-8: Hit http://security.debian.org jessie/updates/main Sources
==> debian-8: Hit http://security.debian.org jessie/updates/contrib Sources
==> debian-8: Hit http://security.debian.org jessie/updates/non-free Sources
==> debian-8: Hit http://security.debian.org jessie/updates/main amd64 Packages
==> debian-8: Get:1 http://http.debian.net jessie-backports InRelease [166 kB]
==> debian-8: Hit http://security.debian.org jessie/updates/contrib amd64 Packages
==> debian-8: Hit http://security.debian.org jessie/updates/non-free amd64 Packages
==> debian-8: Hit http://security.debian.org jessie/updates/contrib Translation-en
==> debian-8: Hit http://security.debian.org jessie/updates/main Translation-en
==> debian-8: Hit http://security.debian.org jessie/updates/non-free Translation-en
==> debian-8: Ign http://apt.puppetlabs.com jessie InRelease
==> debian-8: Get:2 http://http.debian.net jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]
==> debian-8: Ign http://cloudfront.debian.net jessie InRelease
==> debian-8: Get:3 http://http.debian.net jessie-backports/main Translation-en/DiffIndex [27.8 kB]
==> debian-8: Hit http://apt.puppetlabs.com jessie Release.gpg
==> debian-8: Hit http://cloudfront.debian.net jessie Release.gpg
==> debian-8: Hit http://apt.puppetlabs.com jessie Release
==> debian-8: Hit http://cloudfront.debian.net jessie Release
==> debian-8: Hit http://apt.puppetlabs.com jessie/PC1 amd64 Packages
==> debian-8: Hit http://cloudfront.debian.net jessie/main Sources
==> debian-8: Hit http://cloudfront.debian.net jessie/non-free Sources
==> debian-8: Hit http://cloudfront.debian.net jessie/contrib Sources
==> debian-8: Hit http://cloudfront.debian.net jessie/main amd64 Packages
==> debian-8: Ign http://apt.puppetlabs.com jessie/PC1 Translation-en_US
==> debian-8: Hit http://cloudfront.debian.net jessie/non-free amd64 Packages
==> debian-8: Ign http://apt.puppetlabs.com jessie/PC1 Translation-en
==> debian-8: Hit http://cloudfront.debian.net jessie/contrib amd64 Packages
==> debian-8: Hit http://cloudfront.debian.net jessie/contrib Translation-en
==> debian-8: Hit http://cloudfront.debian.net jessie/main Translation-en
==> debian-8: Hit http://cloudfront.debian.net jessie/non-free Translation-en
==> debian-8: Fetched 222 kB in 2s (102 kB/s)
==> debian-8: Reading package lists...
==> debian-8: W
==> debian-8: :
==> debian-8: Duplicate sources.list entry http://http.debian.net/debian/ jessie-backports/main amd64 Packages (/var/lib/apt/lists/http.debian.net_debian_dists_jessie-backports_main_binary-amd64_Packages)
==> debian-8: W
==> debian-8: :
==> debian-8: You may want to run apt-get update to correct these problems
==> debian-8: Reading package lists...
==> debian-8: Building dependency tree...
==> debian-8: Reading state information...
==> debian-8: openjdk-8-jdk is already the newest version.
==> debian-8: 0 upgraded, 0 newly installed, 0 to remove and 108 not upgraded.
==> debian-8: Running provisioner: shell...
debian-8: Running: /tmp/vagrant-shell20160609-5725-q81utj.sh
purbon@slave-342015:~/logstash/qa$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment