Remove the line hard-coding the samba debuglevel to 6. It is a leftover
from testing the early versions of the containers on ceph.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
custom_dns=custom_dns,
domain_member=Features.DOMAIN.value in instance_features,
clustered=Features.CLUSTERED.value in instance_features,
- samba_debug_level=6,
smb_port=self.smb_port,
ceph_config_entity=ceph_config_entity,
vhostname=vhostname,
with open(basedir / 'unit.run') as f:
runfile_lines = f.read().splitlines()
assert 'podman' in runfile_lines[-1]
- assert runfile_lines[-1].endswith('quay.io/essembee/samba-server:latest --samba-debug-level=6 run smbd')
+ assert runfile_lines[-1].endswith('quay.io/essembee/samba-server:latest run smbd')
assert f'-v {basedir}/etc-samba-container:/etc/samba/container:z' in runfile_lines[-1]
assert f'-v {basedir}/lib-samba:/var/lib/samba:z' in runfile_lines[-1]
assert '-e SAMBA_CONTAINER_ID=smb1' in runfile_lines[-1]