diff options
author | Kostiantyn Bushko <kbushko@intellias.com> | 2020-01-14 11:23:32 +0200 |
---|---|---|
committer | Kostiantyn Bushko <kbushko@intellias.com> | 2020-01-14 11:23:32 +0200 |
commit | 16bc3db1644a5fa78bd1c241956144055e4da7c5 (patch) | |
tree | daf91c9267f899b6e87ad2a4a0320bf1aaf6488c /scripts | |
parent | bab326cb28f8616152542b547be08fa31cdf4ee4 (diff) | |
download | meta-updater-16bc3db1644a5fa78bd1c241956144055e4da7c5.tar.gz |
fix issue with attr error for host_forwardfeat/qemu-cmd-args/port-forwarding
Signed-off-by: Kostiantyn Bushko <kbushko@intellias.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/qemucommand.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py index 85b12c6..8d3ee0e 100644 --- a/scripts/qemucommand.py +++ b/scripts/qemucommand.py | |||
@@ -128,7 +128,7 @@ class QemuCommand(object): | |||
128 | self.secondary_network = args.secondary_network | 128 | self.secondary_network = args.secondary_network |
129 | 129 | ||
130 | # Append additional port forwarding to QEMU command line. | 130 | # Append additional port forwarding to QEMU command line. |
131 | if args.host_forward: | 131 | if hasattr(args, 'host_forward'): |
132 | self.host_fwd = args.host_forward | 132 | self.host_fwd = args.host_forward |
133 | 133 | ||
134 | def command_line(self): | 134 | def command_line(self): |