ssh: Update hassio cli to 2.1.0 (#527)

* ssh: Update hassio cli to 2.1.0

* ssh: Grammar and spelling fixes

* Update config.json
This commit is contained in:
Ville Skyttä
2019-03-04 10:03:10 +02:00
committed by Pascal Vizeli
parent d4d68d3b0f
commit aff51f34b8
5 changed files with 8 additions and 5 deletions

View File

@@ -1,5 +1,8 @@
# Changelog
## 5.2
- Update Hass.io CLI to 2.1.0
## 5.1
- Map all serial devices into container for manual adjustments

View File

@@ -22,7 +22,7 @@ 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 \
&& /usr/bin/hassio completion | sed "s/hassio-cli/hassio/g" > /usr/share/bash-completion/completions/hassio
&& /usr/bin/hassio completion > /usr/share/bash-completion/completions/hassio
# Copy data
COPY run.sh /

View File

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

View File

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

View File

@@ -28,7 +28,7 @@ elif [ -n "$PASSWORD" ]; then
sed -i s/#PasswordAuthentication.*/PasswordAuthentication\ yes/ /etc/ssh/sshd_config
sed -i s/#PermitEmptyPasswords.*/PermitEmptyPasswords\ no/ /etc/ssh/sshd_config
else
echo "[Error] You need setup a login!"
echo "[Error] You need to setup a login!"
exit 1
fi
@@ -44,7 +44,7 @@ else
cp -fp "$KEYS_PATH"/* /etc/ssh/
fi
# Persist shell history by redirecting .ash_history to /data
# Persist shell history by redirecting .bash_history to /data
touch /data/.bash_history
chmod 600 /data/.bash_history
ln -s -f /data/.bash_history /root/.bash_history