mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-07 08:19:17 +00:00
Compare commits
4 Commits
365143d880
...
d8b25556ed
Author | SHA1 | Date | |
---|---|---|---|
|
d8b25556ed | ||
|
fad540cf4c | ||
|
9256880c9f | ||
|
13afe3d289 |
@ -40,6 +40,7 @@ Do not break established syntax in this file, as it is automatically updated by
|
||||
|
||||
### ❔ Unlabelled
|
||||
|
||||
- Fix SSH root access in install.func [@havardthom](https://github.com/havardthom) ([#858](https://github.com/community-scripts/ProxmoxVE/pull/858))
|
||||
- Fix variable name for CT_TYPE override [@remz1337](https://github.com/remz1337) ([#855](https://github.com/community-scripts/ProxmoxVE/pull/855))
|
||||
- Keeps the same style after writing the SEARCH icon [@remz1337](https://github.com/remz1337) ([#851](https://github.com/community-scripts/ProxmoxVE/pull/851))
|
||||
|
||||
|
@ -28,7 +28,7 @@ $STD apt-get install -y syncthing
|
||||
$STD systemctl enable syncthing@root.service
|
||||
systemctl start syncthing@root.service
|
||||
sleep 5
|
||||
sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" /root/.local/state/syncthing/config.xml
|
||||
sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" /root/.config/syncthing/config.xml
|
||||
systemctl restart syncthing@root.service
|
||||
msg_ok "Installed Syncthing"
|
||||
|
||||
|
@ -231,6 +231,11 @@ motd_ssh() {
|
||||
|
||||
# Disable default MOTD scripts
|
||||
chmod -x /etc/update-motd.d/*
|
||||
|
||||
if [[ "${SSH_ROOT}" == "yes" ]]; then
|
||||
sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
|
||||
systemctl restart sshd
|
||||
fi
|
||||
}
|
||||
|
||||
# This function customizes the container by modifying the getty service and enabling auto-login for the root user
|
||||
|
Loading…
Reference in New Issue
Block a user