Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5d8a4c22
authored
Jul 28, 2015
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: Fix vm interface up error
parent
8b0376e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
salt/network/files/fix_dhcp.sh
+1
-0
No files found.
salt/network/files/fix_dhcp.sh
View file @
5d8a4c22
#!/bin/bash
#!/bin/bash
sed
-i
'/HWADDR=.*/d'
/etc/sysconfig/network-scripts/ifcfg-vm
sed
-i
'/HWADDR=.*/d'
/etc/sysconfig/network-scripts/ifcfg-vm
sed
-i
-e
\$
aNM_CONTROLLED
=
\"
no
\"
/etc/sysconfig/network-scripts/ifcfg-vm
ifup vm
ifup vm
systemctl restart firewall
systemctl restart firewall
systemctl restart dhcpd
systemctl restart dhcpd
...
...
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