Commit 112fd8d1 authored by rgaudin's avatar rgaudin
Browse files

Fixed #195: change tld from .lan to .hotspot

parent 2b4a72e9
......@@ -6,10 +6,10 @@ lan_interface: eth0
lan_interface2: eth1
client_interface: wlan1
max_wifi_client: 15
cert_domain: ideascube.lan
hostname: ideasbox
tld: "lan"
tld: "hotspot"
fqdn: "{{ hostname }}.{{ tld }}"
cert_domain: ideascube.{{ tld }}
hotspot_name: ideasbox
project_name: ideasbox
ideascube_id: pibox
......
......@@ -40,6 +40,7 @@
hostname: "{{ project_name_safe }}"
fqdn: "{{ project_name_safe }}.{{ tld }}"
hotspot_name: "{{ project_name }}"
cert_domain: ideascube.{{ tld }}
name: Set hostname and hostpot_name
- set_fact:
......
......@@ -45,7 +45,7 @@ mv qemu-{system-arm,img} /usr/local/bin/
useradd -g www-data -l -m -N -s /bin/bash qdemo
# add fake domains to hosts to be able to test outside nginx
echo "192.168.1.3 ideascube.lan plug-demo.kiwix.org kiwix.plug-demo.kiwix.org khanacademy.plug-demo.kiwix.org aflatoun.plug-demo.kiwix.org edupi.plug-demo.kiwix.org wikifundi.plug-demo.kiwix.org sites.plug-demo.kiwix.org plug-demo kiwix.plug-demo khanacademy.plug-demo aflatoun.plug-demo edupi.plug-demo wikifundi.plug-demo sites.plug-demo" >> /etc/hosts
echo "192.168.1.3 ideascube.hotspot plug-demo.kiwix.org kiwix.plug-demo.kiwix.org khanacademy.plug-demo.kiwix.org aflatoun.plug-demo.kiwix.org edupi.plug-demo.kiwix.org wikifundi.plug-demo.kiwix.org sites.plug-demo.kiwix.org plug-demo kiwix.plug-demo khanacademy.plug-demo aflatoun.plug-demo edupi.plug-demo wikifundi.plug-demo sites.plug-demo" >> /etc/hosts
# download and execute at-boot script
wget https://framagit.org/ideascube/pibox-installer/raw/master/online-demo/host-setup.sh -O /root/host-setup.sh && chmod +x /root/host-setup.sh && /root/host-setup.sh
......
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