75
75
def run_in_target(self, *args, **kwargs):
76
76
if not self.vm.fsmounted:
77
77
raise VMBuilderException('install_from_template called while file system is not mounted')
78
return run_cmd('chroot', self.destdir, *args, **kwargs)
78
return run_cmd('chroot', self.vm.installdir, *args, **kwargs)