mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-08-31 17:59:54 +02:00
safely create .ssh folder
This commit is contained in:
parent
20a158c916
commit
a7bcde4178
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ PS3="Select the Server-Function: "
|
|||
pct start $LXC_NBR;
|
||||
sleep 5;
|
||||
# Set the root ssh key
|
||||
pct exec $LXC_NBR -- mkdir /root/.ssh
|
||||
pct exec $LXC_NBR -- mkdir -p /root/.ssh
|
||||
pct push $LXC_NBR $LXC_AUTHORIZED_KEY /root/.ssh/authorized_keys
|
||||
pct push $LXC_NBR "$config" /root/zamba.conf
|
||||
pct exec $LXC_NBR -- sed -i "s,\${service},${service}," /root/zamba.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue