firstboot: copy ntp.conf to template root.img (#261)
This commit is contained in:
parent
85d4a3160d
commit
c0d7a2b376
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user