firstboot: do not fail when /mnt/template-root already exists
This commit is contained in:
parent
fc5f13c385
commit
72884188a2
@ -196,7 +196,7 @@ class moduleClass(Module):
|
||||
subprocess.check_call(['/etc/init.d/qubes_netvm', 'start'])
|
||||
|
||||
def do_configure_template(self):
|
||||
subprocess.check_call(['/bin/mkdir', '/mnt/template-root'])
|
||||
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',
|
||||
'/mnt/template-root'])
|
||||
|
Loading…
Reference in New Issue
Block a user