Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
servers-config
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
servers-config
Commits
a1db9c75
Commit
a1db9c75
authored
Mar 13, 2018
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxd-container: fix wrong path in the bootstrap script
parent
cdb902d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
roles/lxd-container/templates/bootstrap-container.sh.j2
roles/lxd-container/templates/bootstrap-container.sh.j2
+1
-1
No files found.
roles/lxd-container/templates/bootstrap-container.sh.j2
View file @
a1db9c75
...
@@ -30,6 +30,6 @@ echo "%passwordless-sudo ALL=(ALL:ALL) NOPASSWD:ALL" | \
...
@@ -30,6 +30,6 @@ echo "%passwordless-sudo ALL=(ALL:ALL) NOPASSWD:ALL" | \
# Authorize the hypervisor manager to connect to the guest manager
# Authorize the hypervisor manager to connect to the guest manager
ex
sudo
-u
manager
mkdir
-p
/home/manager/.ssh
ex
sudo
-u
manager
mkdir
-p
/home/manager/.ssh
cat
/
home/manager/.ssh/authorized_keys
|
\
cat
/
etc/ssh/authorized_keys/manager
|
\
ex
sudo
-u
manager bash
-c
"cat > /home/manager/.ssh/authorized_keys"
ex
sudo
-u
manager bash
-c
"cat > /home/manager/.ssh/authorized_keys"
ex
chmod
0600 /home/manager/.ssh/authorized_keys
ex
chmod
0600 /home/manager/.ssh/authorized_keys
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment