提交 18bbdb17 编写于 作者: M Matt Rickard

Fix logs Integration test

Journalctl has not been logging properly in the minikube-iso because of
the absence of /var/log on startup.  This is an issue now that we are
using systemd for localkube.  This commit links and persists the directory
/var/log like we do for other folders.
上级 14c3d3cd
......@@ -117,6 +117,9 @@ if [ -n "$BOOT2DOCKER_DATA" ]; then
mkdir -p /mnt/$PARTNAME/var/lib/docker
ln -s /mnt/$PARTNAME/var/lib/docker /var/lib/docker
mkdir -p /mnt/$PARTNAME/var/log
ln -s /mnt/$PARTNAME/var/log /var/log
mkdir -p /mnt/$PARTNAME/var/lib/kubelet
ln -s /mnt/$PARTNAME/var/lib/kubelet /var/lib/kubelet
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册