Skip to content

Commit 93bde8a

Browse files
author
Robert Breker
committed
Update cloud-config.template - allow IPv6 by default and improve comments
Signed-off-by: Robert Breker <[email protected]>
1 parent 773e069 commit 93bde8a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/xscontainer/data/cloud-config.template

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ coreos:
1414
- name: fleet.service
1515
command: start
1616
%XSHINEXISTS%
17+
# Avoid routing via host internal networks
1718
- name: 00-eth%XSHIN%.network
1819
runtime: true
1920
content: |
@@ -25,6 +26,7 @@ coreos:
2526

2627
[DHCP]
2728
UseRoutes=false%ENDXSHINEXISTS%
29+
# XenServer Linux Guest Agent
2830
- name: xe-linux-distribution.service
2931
command: start
3032
content: |
@@ -41,11 +43,7 @@ coreos:
4143
# generate a new token for each unique cluster at https://discovery.etcd.io/new
4244
# discovery: https://discovery.etcd.io/<token>
4345
write_files:
44-
- path: /etc/sysctl.d/10-disable-ipv6.conf
45-
permissions: 0644
46-
owner: root
47-
content: |
48-
net.ipv6.conf.all.disable_ipv6 = 1
46+
# Enable ARP notifications for smooth network recovery after migrations
4947
- path: /etc/sysctl.d/10-enable-arp-notify.conf
5048
permissions: 0644
5149
owner: root

0 commit comments

Comments
 (0)