Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lu Xu
slapos.package
Commits
8cdfaf43
Commit
8cdfaf43
authored
Jul 06, 2018
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook/vifib-server: load vhost-net
parent
b99b8a35
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
playbook/roles/vifib-server/tasks/kvm.yml
playbook/roles/vifib-server/tasks/kvm.yml
+13
-0
No files found.
playbook/roles/vifib-server/tasks/kvm.yml
View file @
8cdfaf43
...
@@ -11,3 +11,16 @@
...
@@ -11,3 +11,16 @@
-
name
:
Set 666 on /dev/kvm
-
name
:
Set 666 on /dev/kvm
shell
:
chmod 666 /dev/kvm
shell
:
chmod 666 /dev/kvm
when
:
dev_kvm.stat.exists == True
when
:
dev_kvm.stat.exists == True
-
modprobe
:
name=vhost-net state=present
ignore_errors
:
True
-
pause
:
seconds=2
-
stat
:
path=/dev/vhost-net
register
:
dev_vhost
-
name
:
Set 666 on /dev/vhost-net
shell
:
chmod 666 /dev/vhost-net
when
:
dev_vhost.stat.exists == True
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