diff --git a/imgutil/imgutil b/imgutil/imgutil index b603cce6..a944cc1e 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -705,6 +705,7 @@ def exec_root_backend(args): _mount('none', dstresolv, flags=MS_RDONLY|MS_REMOUNT|MS_BIND) os.chroot(installroot) os.chdir('/') + _mount('/', '/', flags=MS_BIND) # Make / manifest as a mounted filesystem in exec os.environ['PS1'] = '[\x1b[1m\x1b[4mIMGUTIL EXEC {0}\x1b[0m \W]$ '.format(imgname) os.environ['CONFLUENT_IMGUTIL_MODE'] = 'exec' if args.cmd: