diff options
-rwxr-xr-x | scripts/runqemu | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 4fa2867e73..23c9efbae2 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -925,7 +925,9 @@ class BaseConfig(object): | |||
925 | client = gateway + 1 | 925 | client = gateway + 1 |
926 | if self.fstype == 'nfs': | 926 | if self.fstype == 'nfs': |
927 | self.setup_nfs() | 927 | self.setup_nfs() |
928 | self.kernel_cmdline_script += " ip=192.168.7.%s::192.168.7.%s:255.255.255.0" % (client, gateway) | 928 | netconf = "192.168.7.%s::192.168.7.%s:255.255.255.0" % (client, gateway) |
929 | logger.info("Network configuration: %s", netconf) | ||
930 | self.kernel_cmdline_script += " ip=%s" % netconf | ||
929 | mac = "%s%02x" % (self.mac_tap, client) | 931 | mac = "%s%02x" % (self.mac_tap, client) |
930 | qb_tap_opt = self.get('QB_TAP_OPT') | 932 | qb_tap_opt = self.get('QB_TAP_OPT') |
931 | if qb_tap_opt: | 933 | if qb_tap_opt: |