From 39a07b8cd4b1f93bf99be9c754d4a2425cffa7ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Carranza=20V=C3=A9lez?= Date: Fri, 25 Sep 2015 16:28:57 +0000 Subject: [PATCH] Remove the RPi /boot bind mount --- src/application.coffee | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/application.coffee b/src/application.coffee index 3423656e..95306d67 100644 --- a/src/application.coffee +++ b/src/application.coffee @@ -151,14 +151,7 @@ application.start = start = (app) -> '/var/run/docker.sock:/host_run/docker.sock' '/etc/resolv.conf:/etc/resolv.conf:rw' ] - device.getDeviceType() - .then (deviceType) -> - if _.startsWith(deviceType, 'raspberry-pi') - volumes['/boot'] = {} - binds.push('/boot:/boot') - .catch (err) -> - console.log('Could not determine device type: ', err) - .then -> + Promise.try -> # Parse the env vars before trying to access them, that's because they have to be stringified for knex.. JSON.parse(app.env) .then (env) ->