Merge "Debian: Create worker's correct mount path dir for /opt/platform"
This commit is contained in:
commit
bbbc93e573
@ -2421,7 +2421,7 @@ if [ ${controller} = true ] ; then
|
|||||||
mkdir -p ${IMAGE_ROOTFS}/var/rootdirs/opt/platform-backup
|
mkdir -p ${IMAGE_ROOTFS}/var/rootdirs/opt/platform-backup
|
||||||
echo -e "LABEL=platform_backup\t/var/rootdirs/opt/platform-backup\text4\tdefaults\t1 2" >> ${IMAGE_ROOTFS}/etc/fstab
|
echo -e "LABEL=platform_backup\t/var/rootdirs/opt/platform-backup\text4\tdefaults\t1 2" >> ${IMAGE_ROOTFS}/etc/fstab
|
||||||
elif [ ${worker} = true ] ; then
|
elif [ ${worker} = true ] ; then
|
||||||
mkdir -p ${IMAGE_ROOTFS}/var/rootdir/opt/platform
|
mkdir -p ${IMAGE_ROOTFS}/var/rootdirs/opt/platform
|
||||||
echo -e "controller-platform-nfs:/opt/platform\t/opt/platform\tnfs\ttimeo=30,udp,rsize=1024,wsize=1024,_netdev 0 0" >> ${IMAGE_ROOTFS}/etc/fstab
|
echo -e "controller-platform-nfs:/opt/platform\t/opt/platform\tnfs\ttimeo=30,udp,rsize=1024,wsize=1024,_netdev 0 0" >> ${IMAGE_ROOTFS}/etc/fstab
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user