Update New CLI (#500)

* Update New CLI

* Fix shell

* ssh: Include hassio bash completion (#501)
This commit is contained in:
Pascal Vizeli
2019-01-09 13:59:44 +01:00
committed by GitHub
parent d8bbc59e95
commit e8fa8aa5c8
47 changed files with 25 additions and 43 deletions

View File

@@ -1,6 +1,9 @@
# Changelog
## 4
## 5.0
- Update Hass.io CLI to 2.0.1, include bash completion
## 4.0
- Update Hass.io CLI to 1.4.0
- Add new API role profile
- Update OpenSSH to 7.7

View File

@@ -21,12 +21,11 @@ ARG BUILD_ARCH
ARG CLI_VERSION
RUN apk add --no-cache curl \
&& curl -Lso /usr/bin/hassio https://github.com/home-assistant/hassio-cli/releases/download/${CLI_VERSION}/hassio_${BUILD_ARCH} \
&& chmod a+x /usr/bin/hassio
&& chmod a+x /usr/bin/hassio \
&& /usr/bin/hassio completion | sed "s/hassio-cli/hassio/g" > /usr/share/bash-completion/completions/hassio
# Copy data
COPY run.sh /
COPY motd /etc/
RUN chmod a+x /run.sh
CMD [ "/run.sh" ]

View File

@@ -1,5 +1,5 @@
{
"args": {
"CLI_VERSION": "1.4.0"
"CLI_VERSION": "2.0.1"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "SSH server",
"version": "4",
"version": "5.0",
"slug": "ssh",
"description": "Allows connections over SSH",
"url": "https://home-assistant.io/addons/ssh/",

0
ssh/run.sh Normal file → Executable file
View File