summaryrefslogtreecommitdiffstats
path: root/scripts/run-qemu-ota
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/run-qemu-ota')
-rwxr-xr-xscripts/run-qemu-ota7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/run-qemu-ota b/scripts/run-qemu-ota
index 5f9cebe..8e25197 100755
--- a/scripts/run-qemu-ota
+++ b/scripts/run-qemu-ota
@@ -2,7 +2,7 @@
2 2
3from argparse import ArgumentParser 3from argparse import ArgumentParser
4from subprocess import Popen 4from subprocess import Popen
5from os.path import exists, join 5from os.path import exists
6import sys 6import sys
7from qemucommand import QemuCommand 7from qemucommand import QemuCommand
8 8
@@ -25,7 +25,10 @@ def main():
25 parser.add_argument('--no-gui', help='Disable GUI', action='store_true') 25 parser.add_argument('--no-gui', help='Disable GUI', action='store_true')
26 parser.add_argument('--gdb', help='Export gdbserver port 2159 from the image', action='store_true') 26 parser.add_argument('--gdb', help='Export gdbserver port 2159 from the image', action='store_true')
27 parser.add_argument('--pcap', default=None, help='Dump all network traffic') 27 parser.add_argument('--pcap', default=None, help='Dump all network traffic')
28 parser.add_argument('-o', '--overlay', type=str, metavar='file.cow', help='Use an overlay storage image file. Will be created if it does not exist. This option lets you have a persistent image without modifying the underlying image file, permitting multiple different persistent machines.') 28 parser.add_argument('-o', '--overlay', type=str, metavar='file.cow',
29 help='Use an overlay storage image file. Will be created if it does not exist. ' +
30 'This option lets you have a persistent image without modifying the underlying image ' +
31 'file, permitting multiple different persistent machines.')
29 parser.add_argument('-n', '--dry-run', help='Print qemu command line rather then run it', action='store_true') 32 parser.add_argument('-n', '--dry-run', help='Print qemu command line rather then run it', action='store_true')
30 args = parser.parse_args() 33 args = parser.parse_args()
31 try: 34 try: