Commit 9c324ad4 authored by Julien Muchembled's avatar Julien Muchembled

Never use globally-routable IPs we don't own

fd46::/64 is a randomly chosen value within fc00::/16

/reviewed-on !54
parent 66d6470d
......@@ -49,7 +49,7 @@
wait_for: host=127.0.0.1 port=8080 delay=10
- name: Add ipv6 to lo interface
shell: ip -6 addr add 2001::1/64 dev lo
shell: ip -6 addr add fd46::1/64 dev lo
ignore_errors: True
- name: Run slapos format for initial bootstrap
......
......@@ -63,7 +63,7 @@ echo -n "Bootstraping the system..."
yum remove -y firewalld >> $LOG_FILE 2>&1
yum install -y slapos.node*rpm >> $LOG_FILE 2>&1
ip -6 addr add 2001::1/64 dev lo >> $LOG_FILE 2>&1
ip -6 addr add fd46::1/64 dev lo >> $LOG_FILE 2>&1
mkdir -p /opt/slapgrid /srv/slapgrid >> $LOG_FILE 2>&1
slapos configure local >> $LOG_FILE 2>&1
pgrep -f 'slapos proxy' >/dev/null || (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment