From ae033688fe90cf0c5a53000a33926c0bafe794f0 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Wed, 26 Nov 2014 17:02:19 +0000 Subject: Use os.execl to be able to do things later like exec /sbin/init --- installer/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/installer.py b/installer/installer.py index cfca5bb6..7e1033b8 100755 --- a/installer/installer.py +++ b/installer/installer.py @@ -60,7 +60,7 @@ class BaserockInstaller(): except BaseException, e: print "Something failed, opening shell..." print "Once you have finished, use `reboot -f`" - os.system('/bin/sh') + os.execl('/bin/sh', 'sh') def validate_install_values(self, disk_dest, rootfs): if not self.deploying_to_device(disk_dest): -- cgit v1.2.1