From 0b1f7233e68d7e0cd5671c36b6e6801c05cabe19 Mon Sep 17 00:00:00 2001 From: Nathan LaFreniere Date: Mon, 7 Mar 2016 09:59:18 -0800 Subject: [PATCH] tweak mount options --- README.md | 8 ++++---- rootfs/etc/init.d/S04automount | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 09f4c2d..6fb248f 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # DhyveOS -DhyveOS is a lightweight Linux distribution made specifically to run [Docker](https://www.docker.com/) containers within the [xhyve](https://github.com/mist64/xhyve) hypervisor on OS X. It runs completely from RAM, is a small ~15MB download and boots in ~5s (YMMV). +DhyveOS is a lightweight Linux distribution made specifically to run [Docker](https://www.docker.com/) containers within the [xhyve](https://github.com/mist64/xhyve) hypervisor on OS X. It runs completely from RAM, is a small ~8MB download and boots in ~5s (YMMV). ## Features -* NFS share automounts to /Users +* Uses 9P over virtio to mount your user's home directory so volume mappings work. * Docker runs on port 2375 without TLS -* Designed for use with [dhyve](https://github.com/nlf/dhyve) +* Designed for use with [dlite](https://github.com/nlf/dlite) * Default root password: dhyve * Default docker user password: docker -* Uses the devicemapper storage driver configured in direct-lvm mode with XFS backed volumes +* Uses btrfs for the docker filesystem ## Building diff --git a/rootfs/etc/init.d/S04automount b/rootfs/etc/init.d/S04automount index b77dc10..3dbcfc0 100755 --- a/rootfs/etc/init.d/S04automount +++ b/rootfs/etc/init.d/S04automount @@ -47,7 +47,7 @@ start() { if [ $? -ne 0 ]; then adduser -u "$user_id" -G staff -s /bin/sh -D -h "/Users/${user_name}" "$user_name" fi - mount -t 9p -o trans=virtio -o access=any -o uname="$user_name" host "/Users/${user_name}" + mount -t 9p -o trans=virtio host "/Users/${user_name}" mkdir -p /home/docker/.ssh chmod 700 /home/docker/.ssh