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
Francois Le Corre
slapos.package
Commits
befd0e8f
Commit
befd0e8f
authored
Apr 09, 2018
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbool vm-bootstrap: correctly check if iface eth1 exists
parent
dbe19c4d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
playbook/roles/vm-bootstrap/tasks/network.yml
playbook/roles/vm-bootstrap/tasks/network.yml
+2
-1
No files found.
playbook/roles/vm-bootstrap/tasks/network.yml
View file @
befd0e8f
...
@@ -14,8 +14,9 @@
...
@@ -14,8 +14,9 @@
ignore_errors
:
True
ignore_errors
:
True
-
name
:
Check interface eth1 exists
-
name
:
Check interface eth1 exists
shell
:
/sbin/ifconfig | grep eth1 | wc -l
shell
:
/sbin/ifconfig
eth1
| grep eth1 | wc -l
register
:
iface_eth1
register
:
iface_eth1
ignore_errors
:
True
-
name
:
Delete default route to eth0
-
name
:
Delete default route to eth0
command
:
/sbin/ip route del default
command
:
/sbin/ip route del default
...
...
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