From: Waldemar Kozaczuk <[email protected]>
Committer: Waldemar Kozaczuk <[email protected]>
Branch: master

Tweaked firecracker.py to not set disk to a root device

This patch effectively makes firecracker not to
add 'root=/dev/vda' to command line and makes interactive apps
like rogue or python2x/python3x work properly.

Signed-off-by: Waldemar Kozaczuk <[email protected]>

---
diff --git a/scripts/firecracker.py b/scripts/firecracker.py
--- a/scripts/firecracker.py
+++ b/scripts/firecracker.py
@@ -45,7 +45,7 @@ def add_disk(self, disk_image_path):
         self.make_put_call('/drives/rootfs', {
             'drive_id': 'rootfs',
             'path_on_host': disk_image_path,
-            'is_root_device': True,
+            'is_root_device': False,
             'is_read_only': False
         })

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to