firstboot: use FC15 instead of FC14

BTW: this is very inelegant that we hardcode the name of the default template here.
Can we use qvm-get-default template instead?
This commit is contained in:
Joanna Rutkowska 2012-01-20 17:13:08 +01:00
parent 82da8fc980
commit 2db6a409a1

View File

@ -198,7 +198,7 @@ class moduleClass(Module):
def do_configure_template(self):
subprocess.check_call(['/bin/mkdir', '-p', '/mnt/template-root'])
subprocess.check_call(['/bin/mount', '-oloop',
'/var/lib/qubes/vm-templates/fedora-14-x64/root.img',
'/var/lib/qubes/vm-templates/fedora-15-x64/root.img',
'/mnt/template-root'])
# Copy timezone setting from Dom0 to template
subprocess.check_call(['cp', '/etc/localtime', '/mnt/template-root/etc'])