18 lines
820 B
Plaintext
18 lines
820 B
Plaintext
[IMGogclient]
|
|
type=loopback
|
|
file=/var/lib/tftpboot/ogclient/ogclient.img
|
|
mount-options=-o offset=32256
|
|
|
|
description=ogclient Ubuntu image
|
|
users=root
|
|
groups=root
|
|
root-groups=root
|
|
root-users=root
|
|
|
|
## man 5 schroot.conf
|
|
## "In addition to the configuration keys listed above, it is possible to add custom keys. These keys will be used to add additional environment variables to the setup script environment when setup scripts are run"
|
|
## We need this because in chroot-tasks.py setup_resolvconf2() we create a symlink /etc/resolv.conf -> /run/resolvconf/resolv.conf
|
|
## On the second run of the jenkins job, with REUSE_PREV_FS = true, schroot tries to copy /etc/resolv.conf but it now points to a non-existent file, making schroot fail
|
|
## With this line, we tell schroot not to copy any files to the chroot
|
|
setup.copyfiles=
|