summaryrefslogtreecommitdiffstats
path: root/scripts/run-qemu-ota
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/run-qemu-ota')
-rwxr-xr-xscripts/run-qemu-ota12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/run-qemu-ota b/scripts/run-qemu-ota
index 3312fd3..232ee11 100755
--- a/scripts/run-qemu-ota
+++ b/scripts/run-qemu-ota
@@ -55,12 +55,6 @@ def main():
55 print(e.message) 55 print(e.message)
56 sys.exit(1) 56 sys.exit(1)
57 57
58 print("Launching %s with mac address %s" % (args.imagename, qemu_command.mac_address))
59 print("To connect via SSH:")
60 print(" ssh -o StrictHostKeyChecking=no root@localhost -p %d" % qemu_command.ssh_port)
61 print("To connect to the serial console:")
62 print(" nc localhost %d" % qemu_command.serial_port)
63
64 cmdline = qemu_command.command_line() 58 cmdline = qemu_command.command_line()
65 if args.overlay and not exists(args.overlay): 59 if args.overlay and not exists(args.overlay):
66 print("Overlay file %s does not yet exist, creating." % args.overlay) 60 print("Overlay file %s does not yet exist, creating." % args.overlay)
@@ -70,6 +64,12 @@ def main():
70 else: 64 else:
71 Popen(img_cmdline).wait() 65 Popen(img_cmdline).wait()
72 66
67 print("Launching %s with mac address %s" % (args.imagename, qemu_command.mac_address))
68 print("To connect via SSH:")
69 print(" ssh -o StrictHostKeyChecking=no root@localhost -p %d" % qemu_command.ssh_port)
70 print("To connect to the serial console:")
71 print(" nc localhost %d" % qemu_command.serial_port)
72
73 if args.dry_run: 73 if args.dry_run:
74 print(" ".join(cmdline)) 74 print(" ".join(cmdline))
75 else: 75 else: