fixes
This commit is contained in:
@@ -33,7 +33,8 @@ storage:
|
||||
[Network]
|
||||
Address=fd00:0:0:2::92/64
|
||||
Address=2001:470:7116:2::92/64
|
||||
Gateway=2001:470:7116:2::3
|
||||
#Gateway=2001:470:7116:2::3
|
||||
Gateway=fd00:0:0:2::3
|
||||
DNS=fd00:0:0:1::1
|
||||
Address=10.0.2.92/24
|
||||
Gateway=10.0.2.3
|
||||
@@ -56,6 +57,7 @@ storage:
|
||||
2001:470:7116:2::101 worker1.undercloud.local worker1
|
||||
2001:470:7116:2::102 worker2.undercloud.local worker2
|
||||
2001:470:7116:2::103 worker3.undercloud.local worker3
|
||||
2001:470:7116:2::104 worker4.undercloud.local worker4
|
||||
|
||||
fd00:0:0:2::91 control-plane1.undercloud.local control-plane1
|
||||
fd00:0:0:2::92 control-plane2.undercloud.local control-plane2
|
||||
@@ -63,6 +65,7 @@ storage:
|
||||
fd00:0:0:2::101 worker1.undercloud.local worker1
|
||||
fd00:0:0:2::102 worker2.undercloud.local worker2
|
||||
fd00:0:0:2::103 worker3.undercloud.local worker3
|
||||
fd00:0:0:2::104 worker4.undercloud.local worker4
|
||||
|
||||
10.0.2.91 control-plane1.undercloud.local control-plane1
|
||||
10.0.2.92 control-plane2.undercloud.local control-plane2
|
||||
@@ -70,6 +73,7 @@ storage:
|
||||
10.0.2.101 worker1.undercloud.local worker1
|
||||
10.0.2.102 worker2.undercloud.local worker2
|
||||
10.0.2.103 worker3.undercloud.local worker3
|
||||
10.0.2.104 worker4.undercloud.local worker4
|
||||
|
||||
- path: /etc/motd
|
||||
mode: 0644
|
||||
@@ -113,6 +117,7 @@ storage:
|
||||
fs.inotify.max_user_instances = 4096
|
||||
kernel.panic = 10
|
||||
kernel.panic_on_oops = 1
|
||||
net.ipv6.conf.all.accept_ra = 2
|
||||
|
||||
- path: /etc/flatcar/update.conf
|
||||
overwrite: true
|
||||
@@ -292,3 +297,30 @@ systemd:
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
- name: ping-all.service
|
||||
enabled: true
|
||||
contents: |
|
||||
[Unit]
|
||||
Description=Ping cluster nodes every 5 seconds
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/bash -c '\
|
||||
while true; do \
|
||||
ping -c1 -W1 fd00:0:0:2::91; \
|
||||
ping -c1 -W1 fd00:0:0:2::92; \
|
||||
ping -c1 -W1 fd00:0:0:2::93; \
|
||||
ping -c1 -W1 fd00:0:0:2::101; \
|
||||
ping -c1 -W1 fd00:0:0:2::102; \
|
||||
ping -c1 -W1 fd00:0:0:2::103; \
|
||||
ping -c1 -W1 fd00:0:0:2::104; \
|
||||
sleep 5; \
|
||||
done'
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user