mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2026-02-04 04:22:43 +03:00
Edit init
This commit is contained in:
parent
10cdf9be39
commit
84f48cfbe6
@ -14,6 +14,7 @@ init__set_ssh_keys() {
|
|||||||
local pwent
|
local pwent
|
||||||
local group
|
local group
|
||||||
local tmp_file
|
local tmp_file
|
||||||
|
imds @ssh-keys +n >&2
|
||||||
imds @ssh-keys | while IFS= read -r userkey; do
|
imds @ssh-keys | while IFS= read -r userkey; do
|
||||||
user=$(echo "$userkey" | cut -d: -f1)
|
user=$(echo "$userkey" | cut -d: -f1)
|
||||||
key=$(echo "$userkey" | cut -d: -f2-)
|
key=$(echo "$userkey" | cut -d: -f2-)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user