diff options
| author | sickcodes <[email protected]> | 2021-02-26 06:42:57 +0000 |
|---|---|---|
| committer | sickcodes <[email protected]> | 2021-02-26 06:42:57 +0000 |
| commit | 258f6b455d14aeb449260b668a9d16478a48ac5c (patch) | |
| tree | f6d3793c6562527ad781acf929d38a8216f7c9f7 /Dockerfile.naked | |
| parent | NOPICKER now does: `sed -i '/^.*InstallMedia.*/d' Launch.sh` (diff) | |
| download | docker-osx-258f6b455d14aeb449260b668a9d16478a48ac5c.tar.xz docker-osx-258f6b455d14aeb449260b668a9d16478a48ac5c.zip | |
Fix /env permissions for persistence after GENERATE_UNIQUE. Fix the following warning by chowning /dev/kvm earlier "libguestfs: warning: current user is not a member of the KVM group (group ID 108). This user cannot access /dev/kvm, so libguestfs may run very slowly. It is recommended that you 'chmod 0666 /dev/kvm' or add the current user to the KVM group (you might need to log out and log in again)."
Diffstat (limited to 'Dockerfile.naked')
| -rw-r--r-- | Dockerfile.naked | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile.naked b/Dockerfile.naked index 0ebc65e..5c17c93 100644 --- a/Dockerfile.naked +++ b/Dockerfile.naked @@ -111,7 +111,7 @@ ENV IMAGE_PATH=/image ENV NOPICKER=true -CMD sudo chown "$(id -u)":"$(id -g)" "${IMAGE_PATH}" "${BOOTDISK}" 2>/dev/null || true \ +CMD sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/null || true \ ; [[ "${DISPLAY}" = ':99' ]] && { \ nohup Xvfb :99 -screen 0 1920x1080x16 \ & until [[ "$(xrandr --query 2>/dev/null)" ]]; do sleep 1 ; done \ |