mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-07 04:31:24 +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:
|
map:
|
||||||
- type: addons
|
- type: addons
|
||||||
read_only: false
|
read_only: false
|
||||||
path: /SERVER/addons
|
|
||||||
- type: all_addon_configs
|
- type: all_addon_configs
|
||||||
read_only: false
|
read_only: false
|
||||||
path: /SERVER/all_addon_configs
|
|
||||||
- type: backup
|
- type: backup
|
||||||
read_only: false
|
read_only: false
|
||||||
path: /SERVER/backup
|
|
||||||
- type: homeassistant_config
|
- type: homeassistant_config
|
||||||
read_only: false
|
read_only: false
|
||||||
path: /SERVER/config
|
|
||||||
- type: media
|
- type: media
|
||||||
read_only: false
|
read_only: false
|
||||||
path: /SERVER/media
|
|
||||||
- type: share
|
- type: share
|
||||||
read_only: false
|
read_only: false
|
||||||
path: /SERVER/share
|
|
||||||
- type: ssl
|
- type: ssl
|
||||||
read_only: false
|
read_only: false
|
||||||
path: /SERVER/ssl
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- mysql:want
|
- 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
|
# Links some common directories to the user's home folder for convenience
|
||||||
for dir in "${DIRECTORIES[@]}"; do
|
for dir in "${DIRECTORIES[@]}"; do
|
||||||
ln -sn "/${dir}" "${HOME}/${dir}" ||
|
ln -sn "/${dir}" "/SERVER/${dir}" ||
|
||||||
bashio::log.warning "Failed linking common directory: ${dir}"
|
bashio::log.warning "Failed linking common directory: ${dir}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Some links to old locations, to not mess with the user's muscle memory
|
# Some links to old locations, to not mess with the user's muscle memory
|
||||||
# ln -sn "/config" "${HOME}/config" \
|
ln -sn "/config" "${HOME}/config" ||
|
||||||
# || bashio::log.warning "Failed linking common directory: ${HOME}/config"
|
bashio::log.warning "Failed linking common directory: ${HOME}/config"
|
||||||
# ln -sn "/config" "/homeassistant" \
|
ln -sn "/config" "/homeassistant" ||
|
||||||
# || bashio::log.warning "Failed linking common directory: /homeassistant"
|
bashio::log.warning "Failed linking common directory: /homeassistant"
|
||||||
|
|
||||||
# Store SSH settings in add-on data folder
|
# Store SSH settings in add-on data folder
|
||||||
if ! bashio::fs.directory_exists "${SSH_USER_PATH}"; then
|
if ! bashio::fs.directory_exists "${SSH_USER_PATH}"; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue