diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-11-26 17:02:19 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-12-02 17:58:47 +0000 |
commit | 4db7263748781e139dd18cc999b056fc36a5c8af (patch) | |
tree | 6ddc8d0284aaeac4af7f5b4eea8999fc41dc0a1f | |
parent | f073462e320d10a3d2d6f277237bd1d804ee3def (diff) | |
download | definitions-4db7263748781e139dd18cc999b056fc36a5c8af.tar.gz |
Use os.execl to be able to do things later like exec /sbin/init
-rwxr-xr-x | installer/installer.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |