firstboot: copy ntp.conf to template root.img (#261)

This commit is contained in:
Marek Marczykowski 2011-07-14 01:43:16 +02:00
parent 85d4a3160d
commit c0d7a2b376

View File

@ -171,6 +171,7 @@ class moduleClass(Module):
'/mnt/template-root'])
# Copy timezone setting from Dom0 to template
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'])
def do_create_appvms(self):