lxc patch
This commit is contained in:
@@ -16,7 +16,7 @@ lxc-start -n "$CONTAINER"
|
||||
sleep 5
|
||||
|
||||
# set root password, install SSH, inject key
|
||||
lxc-attach -n "$CONTAINER" -- bash -c "
|
||||
lxc-attach -n "$CONTAINER" -- /bin/bash -c "
|
||||
apt-get update && apt-get install -y openssh-server
|
||||
mkdir -p /root/.ssh
|
||||
chmod 700 /root/.ssh
|
||||
|
||||
Reference in New Issue
Block a user