[ -n "$LKP_SERVER" ] && {
Here LKP_SERVER should be changed to INITRD_CIFS_HOST
Yuchuan, currently ~/compass-ci/container/os-cifs/smb.conf ties the major /srv/* dirs together.
We may try splitting out the services with different HOST/PORT, so that the dirs can be served either in same host or from different servers.
OS_CIFS_HOST OS_CIFS_PORT (default to 445)
INITRD_CIFS_HOST INITRD_CIFS_PORT (default to 139)
RESULT_CIFS_HOST RESULT_CIFS_PORT
The last one may not be necessary, since we'll only use HTTP result upload in future.
- mount $LKP_SERVER:$PKG_MNT $PKG_MNT || die "Failed to run mount"
- mount -t cifs -o guest,vers=1.0,noacl,nouser_xattr //$LKP_SERVER$PKG_MNT $PKG_MNT || die "Failed to run mount"