Commit c35d2605 authored by Rafael Monnerat's avatar Rafael Monnerat

Use diferent interface for testnodes.

parent 4cd484eb
......@@ -11,7 +11,7 @@
register: slapos_cfg
- name: Configure SlapOS with slapos node register
shell: "slapos node register --token {{ slapostoken }} --master-url {{ slapos_master_url }} --master-url-web {{ slapos_web_master_url }} --interface-name lo {{ computer_name }}"
shell: "slapos node register --token {{ slapostoken }} --master-url {{ slapos_master_url }} --master-url-web {{ slapos_web_master_url }} --interface-name {{ interface_name }} {{ computer_name }}"
when: slapos_cfg.stat.exists == False and "{{ slapostoken }}" != "notoken" and "{{ computer_name }}" != "noname"
- name: Run slapos format for initial bootstrap
......
......@@ -2,3 +2,4 @@
re6st_registry_url: http://re6stnet.gnet.erp5.cn/
slapos_master_url: https://slap.grandnet.cn/
slapos_web_master_url: https://slapos.grandnet.cn/
interface_name: lo
......@@ -2,3 +2,4 @@
re6st_registry_url: http://re6stnet.imt.vifib.com/
slapos_master_url: https://slap.imt.vifib.com/
slapos_web_master_url: https://imt.vifib.com/
interface_name: lo
......@@ -2,3 +2,4 @@
re6st_registry_url: https://re6stnet.nexedi.com/
slapos_master_url: https://slap.vifib.com/
slapos_web_master_url: https://slapos.vifib.com/
interface_name: lo
......@@ -5,6 +5,9 @@
vars_files:
- settings/vifib.yml
vars:
interface_name: eth0
vars_prompt:
- name: "computer_name"
......
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