Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Side by Side Diff: bin/cros_run_vm_update

Issue 3419014: Add persist option to vm library. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Fix nits Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | lib/cros_vm_lib.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 # 6 #
7 # Updates an existing vm image with another image. 7 # Updates an existing vm image with another image.
8 8
9 . "$(dirname $0)/../common.sh" 9 . "$(dirname $0)/../common.sh"
10 . "$(dirname $0)/../lib/cros_vm_lib.sh" 10 . "$(dirname $0)/../lib/cros_vm_lib.sh"
(...skipping 14 matching lines...) Expand all
25 die "You must specify a path to a vm image." 25 die "You must specify a path to a vm image."
26 26
27 trap stop_kvm EXIT 27 trap stop_kvm EXIT
28 start_kvm "${FLAGS_vm_image_path}" 28 start_kvm "${FLAGS_vm_image_path}"
29 29
30 $(dirname $0)/../image_to_live.sh \ 30 $(dirname $0)/../image_to_live.sh \
31 --remote=${HOSTNAME} \ 31 --remote=${HOSTNAME} \
32 --ssh_port=${FLAGS_ssh_port} \ 32 --ssh_port=${FLAGS_ssh_port} \
33 --stateful_update_flag=${stateful_flags} \ 33 --stateful_update_flag=${stateful_flags} \
34 --image=$(readlink -f ${FLAGS_update_image_path}) 34 --image=$(readlink -f ${FLAGS_update_image_path})
35
OLDNEW
« no previous file with comments | « no previous file | lib/cros_vm_lib.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698