You've already forked ansible-role-common
8 lines
255 B
Bash
8 lines
255 B
Bash
#!/bin/bash
|
|
|
|
# This script will reset the IP Address back to default of DHCP
|
|
# helpful for a pending restore
|
|
|
|
/bin/nmcli c m "System eth0" ipv4.method auto
|
|
/bin/nmcli c m "System eth0" ipv4.address "" ipv4.gateway ""
|
|
/bin/nmcli connection up "System eth0" |