Fix SSH access issue introduced by change 619003

Sshd service should not be disabled by default in config package.

Closes-Bug: 1805157

Change-Id: I154af9f46796feff6bb10e34aa5b5795bf92c9ed
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
This commit is contained in:
zhipengl 2018-11-27 18:56:37 +08:00
parent 96ebc7d181
commit d3bf698d1b

View File

@ -33,7 +33,6 @@ if [ $1 -eq 1 ] ; then
# Initial installation # Initial installation
cp -f %{_datadir}/starlingx/sshd.pam %{_pamconfdir}/sshd cp -f %{_datadir}/starlingx/sshd.pam %{_pamconfdir}/sshd
fi fi
%{_bindir}/systemctl disable sshd.service > /dev/null 2>&1 || :
%files %files
%{_datadir}/starlingx/sshd.pam %{_datadir}/starlingx/sshd.pam