Skip to content

Commit

Permalink
change deafult interface to masquerade instead of bridge
Browse files Browse the repository at this point in the history
In this PR we changed the default binding method
from bridge to masquerade, so that template VMs will
be migratable.
masu

Signed-off-by: alonSadan <[email protected]>
  • Loading branch information
alonSadan authored and MarSik committed Sep 18, 2019
1 parent c6d93ee commit b4f3a63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/_linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ objects:
bus: {{ diskbus | default("virtio") }}
name: cloudinitdisk
interfaces:
- bridge: {}
- masquerade: {}
name: default
terminationGracePeriodSeconds: 0
networks:
Expand Down
2 changes: 1 addition & 1 deletion templates/win2k12r2.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ objects:
bus: sata
name: rootdisk
interfaces:
- bridge: {}
- masquerade: {}
model: e1000e
name: default
{% if item.tablet %}
Expand Down

0 comments on commit b4f3a63

Please sign in to comment.