mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
devenv
This commit is contained in:
parent
e406bbbce5
commit
810f8239cb
2 changed files with 5 additions and 12 deletions
|
@ -22,25 +22,18 @@ homeassistant_api: true
|
|||
map:
|
||||
- type: addons
|
||||
read_only: false
|
||||
path: /SERVER/addons
|
||||
- type: all_addon_configs
|
||||
read_only: false
|
||||
path: /SERVER/all_addon_configs
|
||||
- type: backup
|
||||
read_only: false
|
||||
path: /SERVER/backup
|
||||
- type: homeassistant_config
|
||||
read_only: false
|
||||
path: /SERVER/config
|
||||
- type: media
|
||||
read_only: false
|
||||
path: /SERVER/media
|
||||
- type: share
|
||||
read_only: false
|
||||
path: /SERVER/share
|
||||
- type: ssl
|
||||
read_only: false
|
||||
path: /SERVER/ssl
|
||||
|
||||
services:
|
||||
- mysql:want
|
||||
|
|
|
@ -12,15 +12,15 @@ readonly ZSH_HISTORY_PERSISTANT_FILE=/data/.zsh_history
|
|||
|
||||
# Links some common directories to the user's home folder for convenience
|
||||
for dir in "${DIRECTORIES[@]}"; do
|
||||
ln -sn "/${dir}" "${HOME}/${dir}" ||
|
||||
ln -sn "/${dir}" "/SERVER/${dir}" ||
|
||||
bashio::log.warning "Failed linking common directory: ${dir}"
|
||||
done
|
||||
|
||||
# Some links to old locations, to not mess with the user's muscle memory
|
||||
# ln -sn "/config" "${HOME}/config" \
|
||||
# || bashio::log.warning "Failed linking common directory: ${HOME}/config"
|
||||
# ln -sn "/config" "/homeassistant" \
|
||||
# || bashio::log.warning "Failed linking common directory: /homeassistant"
|
||||
ln -sn "/config" "${HOME}/config" ||
|
||||
bashio::log.warning "Failed linking common directory: ${HOME}/config"
|
||||
ln -sn "/config" "/homeassistant" ||
|
||||
bashio::log.warning "Failed linking common directory: /homeassistant"
|
||||
|
||||
# Store SSH settings in add-on data folder
|
||||
if ! bashio::fs.directory_exists "${SSH_USER_PATH}"; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue