mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
use hard coded iiab-servar.lan as a link between client redirects and our server
This commit is contained in:
parent
d90b6becb9
commit
b11b46ccd0
5 changed files with 5 additions and 5 deletions
Binary file not shown.
|
@ -10,4 +10,4 @@ OS={{ ansible_local.local_facts.os }}
|
||||||
OS_VER={{ ansible_local.local_facts.os_ver }}
|
OS_VER={{ ansible_local.local_facts.os_ver }}
|
||||||
WWWROOT={{ doc_root }}
|
WWWROOT={{ doc_root }}
|
||||||
STAGE=1
|
STAGE=1
|
||||||
FQDN={{ iiab-fqdn }}
|
FQDN={{ iiab_fqdn }}
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
<br><br>
|
<br><br>
|
||||||
<br><br>
|
<br><br>
|
||||||
<br><br>
|
<br><br>
|
||||||
<a class="button" href="http://server.lan/home">{{ btn1 }}</a>
|
<a class="button" href="http://iiab-server.lan/home">{{ btn1 }}</a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
<script>
|
<script>
|
||||||
var w = window.innerWidth;
|
var w = window.innerWidth;
|
||||||
function homeclick(){
|
function homeclick(){
|
||||||
window.open("http://server.lan/home","_system");
|
window.open("http://iiab-server.lan/home","_system");
|
||||||
$.ajax("/home_selected");
|
$.ajax("/home_selected");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,14 +8,14 @@
|
||||||
- name: Configure fqdn in /etc/hosts with LAN
|
- name: Configure fqdn in /etc/hosts with LAN
|
||||||
lineinfile: dest=/etc/hosts
|
lineinfile: dest=/etc/hosts
|
||||||
regexp='^172\.18\.96\.1'
|
regexp='^172\.18\.96\.1'
|
||||||
line='172.18.96.1 {{ iiab_hostname }}.{{ iiab_domain }} {{ iiab_hostname }} box'
|
line='172.18.96.1 {{ iiab_hostname }}.{{ iiab_domain }} {{ iiab_hostname }} box iiab-server.lan'
|
||||||
state=present
|
state=present
|
||||||
when: iiab_lan_iface != "none" and not installing
|
when: iiab_lan_iface != "none" and not installing
|
||||||
|
|
||||||
- name: Configure fqdn in /etc/hosts appliance mode
|
- name: Configure fqdn in /etc/hosts appliance mode
|
||||||
lineinfile: dest=/etc/hosts
|
lineinfile: dest=/etc/hosts
|
||||||
regexp='^127\.0\.0\.1'
|
regexp='^127\.0\.0\.1'
|
||||||
line='127.0.0.1 localhost.localdomain localhost {{ iiab_hostname }}.{{ iiab_domain }} {{ iiab_hostname }} box '
|
line='127.0.0.1 localhost.localdomain localhost {{ iiab_hostname }}.{{ iiab_domain }} {{ iiab_hostname }} box iiab-server.lan'
|
||||||
owner=root
|
owner=root
|
||||||
group=root
|
group=root
|
||||||
mode=0644
|
mode=0644
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue