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

Unified Diff: bin/cros_run_vm_update

Issue 6482017: Update test harness to take in optional public and private keys to sign payloads. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bin/cros_au_test_harness.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/cros_run_vm_update
diff --git a/bin/cros_run_vm_update b/bin/cros_run_vm_update
index 05a1d44afbaec6979afc0ac575817a590fb72371..c87e25d6251b63a551ea34166999654c3a02690c 100755
--- a/bin/cros_run_vm_update
+++ b/bin/cros_run_vm_update
@@ -35,7 +35,7 @@ DEFINE_string proxy_port "" \
DEFINE_string src_image "" \
"Create a delta update by passing in the image on the remote machine."
DEFINE_string stateful_update_flag "" "Flags to pass to stateful update." s
-DEFINE_string update_image_path "" "Path of the image to update to." u
+DEFINE_string image "" "Path of the image to update to." u
sosa 2011/02/10 06:14:35 Wanted to make this common with image_to_live
DEFINE_string update_url "" "Full url of an update image."
DEFINE_string vm_image_path "" "Path of the VM image to update from." v
@@ -52,8 +52,8 @@ trap stop_kvm EXIT
start_kvm "${FLAGS_vm_image_path}"
retry_until_ssh
-if [ -n "${FLAGS_update_image_path}" ]; then
- IMAGE_ARGS="--image=$(readlink -f ${FLAGS_update_image_path})"
+if [ -n "${FLAGS_image}" ]; then
+ IMAGE_ARGS="--image=$(readlink -f ${FLAGS_image})"
fi
if [ -n "${FLAGS_payload}" ]; then
« no previous file with comments | « bin/cros_au_test_harness.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698