mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
Update CLI 4.11.0 (#1920)
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 7.12.2
|
||||
|
||||
- Update Home Assistant CLI to 4.11.0
|
||||
|
||||
## 7.12.1
|
||||
|
||||
- Update options schema for passwords
|
||||
|
||||
@@ -7,6 +7,6 @@
|
||||
"i386": "homeassistant/i386-base:3.11"
|
||||
},
|
||||
"args": {
|
||||
"CLI_VERSION": "4.2.0"
|
||||
"CLI_VERSION": "4.11.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Git pull",
|
||||
"version": "7.12.1",
|
||||
"version": "7.12.2",
|
||||
"slug": "git_pull",
|
||||
"description": "Simple git pull to update the local configuration",
|
||||
"url": "https://github.com/home-assistant/hassio-addons/tree/master/git_pull",
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 9.1.0
|
||||
|
||||
- Upgrade Home Assistant CLI to 4.11.0
|
||||
- Support APKs installation on startup
|
||||
|
||||
## 9.0.2
|
||||
|
||||
- Update options schema for passwords
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"i386": "homeassistant/i386-base:3.13"
|
||||
},
|
||||
"args": {
|
||||
"CLI_VERSION": "4.10.1",
|
||||
"CLI_VERSION": "4.11.0",
|
||||
"LIBWEBSOCKETS_VERSION": "4.1.4",
|
||||
"TTYD_VERSION": "1.6.3"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Terminal & SSH",
|
||||
"version": "9.0.2",
|
||||
"version": "9.1.0",
|
||||
"slug": "ssh",
|
||||
"description": "Allow logging in remotely to Home Assistant using SSH",
|
||||
"url": "https://github.com/home-assistant/hassio-addons/tree/master/ssh",
|
||||
@@ -22,6 +22,7 @@
|
||||
"map": ["config:rw", "ssl:rw", "addons:rw", "share:rw", "backup:rw", "media:rw"],
|
||||
"options": {
|
||||
"authorized_keys": [],
|
||||
"apks": [],
|
||||
"password": "",
|
||||
"server": {
|
||||
"tcp_forwarding": false
|
||||
@@ -32,7 +33,8 @@
|
||||
"password": "password",
|
||||
"server": {
|
||||
"tcp_forwarding": "bool"
|
||||
}
|
||||
},
|
||||
"apks": ["str"]
|
||||
},
|
||||
"image": "homeassistant/{arch}-addon-ssh"
|
||||
}
|
||||
|
||||
16
ssh/rootfs/etc/cont-init.d/apks.sh
Normal file
16
ssh/rootfs/etc/cont-init.d/apks.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# SSH install additional packages on startup
|
||||
# ==============================================================================
|
||||
|
||||
if ! bashio::config.has_value "apks"; then
|
||||
bashio::exit.ok
|
||||
fi
|
||||
|
||||
apk update \
|
||||
|| bashio::exit.nok "Failed updating Alpine packages indexes"
|
||||
|
||||
for package in $(bashio::config "apks"); do
|
||||
apk add "$package" \
|
||||
|| bashio::exit.nok "Failed installing ${package}"
|
||||
done
|
||||
Reference in New Issue
Block a user