summaryrefslogtreecommitdiffstats
path: root/scripts/run-qemu-ota
diff options
context:
space:
mode:
authorcajun-rat <phil@advancedtelematic.com>2018-03-22 10:19:56 +0100
committerGitHub <noreply@github.com>2018-03-22 10:19:56 +0100
commit156074d9533acf88f102a07701591a4532d007db (patch)
treeaa079a59ec52b0bf19ddc97b74e735bb5f0eea7a /scripts/run-qemu-ota
parentc3c8d56af6daac3c1eb38118f683db430af48d63 (diff)
parent046ac433f47b5a6cbacb95873e55f7d6c842a939 (diff)
downloadmeta-updater-156074d9533acf88f102a07701591a4532d007db.tar.gz
Merge pull request #277 from advancedtelematic/feat/pro-5060-run-qemu-ota
run-qemu-ota support for secondaries
Diffstat (limited to 'scripts/run-qemu-ota')
-rwxr-xr-xscripts/run-qemu-ota3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/run-qemu-ota b/scripts/run-qemu-ota
index 56e4fbc..b2f55e9 100755
--- a/scripts/run-qemu-ota
+++ b/scripts/run-qemu-ota
@@ -33,6 +33,9 @@ def main():
33 help='Use an overlay storage image file. Will be created if it does not exist. ' + 33 help='Use an overlay storage image file. Will be created if it does not exist. ' +
34 'This option lets you have a persistent image without modifying the underlying image ' + 34 'This option lets you have a persistent image without modifying the underlying image ' +
35 'file, permitting multiple different persistent machines.') 35 'file, permitting multiple different persistent machines.')
36 parser.add_argument('--secondary-network', action='store_true', dest='secondary_network',
37 help='Give the image a second network card connected to a virtual network. ' +
38 'This can be used to test Uptane Primary/Secondary communication.')
36 parser.add_argument('-n', '--dry-run', help='Print qemu command line rather then run it', action='store_true') 39 parser.add_argument('-n', '--dry-run', help='Print qemu command line rather then run it', action='store_true')
37 args = parser.parse_args() 40 args = parser.parse_args()
38 try: 41 try: