From 28a0e3c4de4a95a3328f6c2b2e507845e5f5057c Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 25 Feb 2013 17:09:01 +0100 Subject: [PATCH] firstboot: remove /mnt/template-root dir --- firstboot/modules/qubes_setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/firstboot/modules/qubes_setup.py b/firstboot/modules/qubes_setup.py index 71e8e97..31fcdb6 100644 --- a/firstboot/modules/qubes_setup.py +++ b/firstboot/modules/qubes_setup.py @@ -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])