firstboot: remove /mnt/template-root dir

This commit is contained in:
Marek Marczykowski 2013-02-25 17:09:01 +01:00
parent f1d1270a5b
commit 28a0e3c4de

View File

@ -205,6 +205,7 @@ class moduleClass(Module):
subprocess.check_call(['cp', '/etc/localtime', '/mnt/template-root/etc'])
subprocess.check_call(['cp', '/etc/ntp.conf', '/mnt/template-root/etc'])
subprocess.check_call(['/bin/umount', '/mnt/template-root'])
subprocess.check_call(['/bin/rmdir', '/mnt/template-root'])
def do_create_appvms(self):
self.run_command(['su', '-c', '/usr/bin/qvm-create work --label green', '-', self.qubes_user])