aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 4d8fc8ec3c6..e462ab5efc8 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -934,6 +934,7 @@ class BaseConfig(object):
else:
self.setup_tap()
+ def setup_rootfs(self):
rootfs_format = self.fstype if self.fstype in ('vmdk', 'qcow2', 'vdi') else 'raw'
qb_rootfs_opt = self.get('QB_ROOTFS_OPT')
@@ -1153,6 +1154,7 @@ def main():
config.print_config()
try:
config.setup_network()
+ config.setup_rootfs()
config.setup_final()
config.start_qemu()
finally: