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:
parent
82da8fc980
commit
2db6a409a1
@ -198,7 +198,7 @@ class moduleClass(Module):
|
|||||||
def do_configure_template(self):
|
def do_configure_template(self):
|
||||||
subprocess.check_call(['/bin/mkdir', '-p', '/mnt/template-root'])
|
subprocess.check_call(['/bin/mkdir', '-p', '/mnt/template-root'])
|
||||||
subprocess.check_call(['/bin/mount', '-oloop',
|
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'])
|
'/mnt/template-root'])
|
||||||
# Copy timezone setting from Dom0 to template
|
# Copy timezone setting from Dom0 to template
|
||||||
subprocess.check_call(['cp', '/etc/localtime', '/mnt/template-root/etc'])
|
subprocess.check_call(['cp', '/etc/localtime', '/mnt/template-root/etc'])
|
||||||
|
Loading…
Reference in New Issue
Block a user