abc
This commit is contained in:
parent
793056b72b
commit
72362d9645
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ rdnssd -u root -r /etc/resolv.conf
|
||||||
if [[ $(get_distro) = "alpine" ]]; then
|
if [[ $(get_distro) = "alpine" ]]; then
|
||||||
apk update
|
apk update
|
||||||
apk add openssh-server sfdisk util-linux jq
|
apk add openssh-server sfdisk util-linux jq
|
||||||
|
|
||||||
|
mkdir -p $(dirname $ssh_authorized_keys_path)
|
||||||
touch $ssh_authorized_keys_path
|
touch $ssh_authorized_keys_path
|
||||||
|
|
||||||
if ! grep -q "PasswordAuthentication no" $sshd_config_path; then
|
if ! grep -q "PasswordAuthentication no" $sshd_config_path; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue