Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Option to create snapshots after first boot #43

Open
simonschiller opened this issue Jul 4, 2018 · 1 comment
Open

Option to create snapshots after first boot #43

simonschiller opened this issue Jul 4, 2018 · 1 comment
Assignees

Comments

@simonschiller
Copy link
Contributor

simonschiller commented Jul 4, 2018

In order to make Swarmer faster, it would be great if there was an option for creating snapshots on the initial boot. Maybe with an option like --create-snapshots. The idea is to create a snapshot on the initial boot because the state is clean and then start emulators with -no-snapshot-save so that we never override this clean snapshot. Snapshots should only be created if there is no existing snapshot.

You can manually create a snapshot from an emulator using these commands:

telnet 127.0.0.1 EMULATOR_PORT
auth AUTH_TOKEN // Content of $HOME/.emulator_console_auth_token
avd snapshot save default_boot
quit

This change only makes sense if avds are kept and not recreated (see #41 and #42).

@yunikkk
Copy link
Contributor

yunikkk commented Aug 6, 2018

Sounds good to me. Snapshot management is developing pretty actively, new 28.0.0 emulator even allows multiple snapshot instances at the same time.

@yunikkk yunikkk self-assigned this Aug 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants