Avoid reassign vars
Change-Id: I3b8eb39aa6b297b2f3ea83807e8581f031d58a09
This commit is contained in:
parent
31ad179fe8
commit
613121e657
@ -92,7 +92,7 @@ class midonet::gateway::static (
|
||||
$scripts_dir = '/tmp',
|
||||
$uplink_script = 'create_fake_uplink_l2.sh',
|
||||
$ensure_scripts = 'present',
|
||||
$hostname = $::hostname,
|
||||
$myhostname = $::hostname,
|
||||
$masquerade = 'on'
|
||||
) {
|
||||
|
||||
|
@ -23,7 +23,7 @@ EDGE_ROUTER=<%= @edge_router %>
|
||||
VETH0_IP=<%= @veth0_ip %>
|
||||
VETH1_IP=<%= @veth1_ip %>
|
||||
VETH_NETWORK=<%= @veth_network %>
|
||||
HOSTNAME=<%= @hostname %>
|
||||
HOSTNAME=<%= @myhostname %>
|
||||
MASQUERADE_ON=<%= @masquerade %>
|
||||
|
||||
HOST_ID=$(midonet-cli -A -e host list | grep ${HOSTNAME} | awk '{ print $2 }')
|
||||
|
Loading…
x
Reference in New Issue
Block a user