1 2 3 4 5 6 | def mount_image_callback(self, cmd):
"""Run mount-image-callback."""
mic = ('sudo mount-image-callback --system-mounts --system-resolvconf '
'%s -- chroot _MOUNTPOINT_ /bin/sh' % self.name)
out, err = c_util.subp(shlex.split(mic), data=cmd)
|