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

Unified Diff: bin/cros_run_vm_update

Issue 5801001: Fix cros_run_vm_update --proxy_port support (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Created 10 years 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 | « no previous file | 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 abd00714622e61a6c076927e6c71fb8712e0499d..68eeba76b5cb6fd3d85362f5264c567068bb5c04 100755
--- a/bin/cros_run_vm_update
+++ b/bin/cros_run_vm_update
@@ -10,6 +10,8 @@
. "$(dirname $0)/../lib/cros_vm_lib.sh"
DEFINE_string payload "" "Full name of the payload to update with."
+DEFINE_string proxy_port "" \
+ "Have the client request from this proxy instead of devserver."
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
@@ -38,6 +40,10 @@ if [ -n "${FLAGS_payload}" ]; then
IMAGE_ARGS="--payload="${FLAGS_payload}""
fi
+if [ -n "${FLAGS_proxy_port}" ]; then
+ IMAGE_ARGS="--proxy_port="${FLAGS_proxy_port}""
sosa 2010/12/11 00:17:07 Does the quotes in quotes work? Don't need \" in
dgarrett 2010/12/11 00:25:38 To be honest, it's a copy mod of the option above.
+fi
+
$(dirname $0)/../image_to_live.sh \
--remote=127.0.0.1 \
--ssh_port=${FLAGS_ssh_port} \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698