Rename gw01.home.foo.sh to dna-gw01.home.foo.sh
This commit is contained in:
parent
d2cbea9354
commit
9f86ecc099
5 changed files with 4 additions and 4 deletions
|
@ -37,9 +37,9 @@ state backup {
|
|||
run "/sbin/ifconfig vio1 delete lladdr {{ gw_home_mac }} down"
|
||||
# flush routes and fix default route
|
||||
run "/sbin/route -qn flush"
|
||||
{% if inventory_hostname == "gw01.home.foo.sh" %}
|
||||
{% if inventory_hostname == "dna-gw01.home.foo.sh" %}
|
||||
run "/sbin/route -qn add default 172.20.21.2"
|
||||
{% elif inventory_hostname == "gw02.home.foo.sh" %}
|
||||
{% elif inventory_hostname == "dna-gw02.home.foo.sh" %}
|
||||
run "/sbin/route -qn add default 172.20.21.1"
|
||||
{% endif %}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue