host.network => network

This commit is contained in:
Emmanuel Garette 2021-05-16 06:59:19 +02:00
parent 97f3250e2e
commit e961491e54
2 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ zones:
- name: internet
settings:
configuration:
host:
network: 192.168.1.0/24
host:
start: 192.168.1.10
stop: 192.168.1.100
dns: [192.168.1.2]

View File

@ -34,7 +34,7 @@ cucchiaiata-cli v1.user.role.create --user_login gnunux \
cucchiaiata-cli v1.infra.zone.create --zone_name internet
# zone configuration
S=$(get_id "cucchiaiata-cli v1.setting.session.zone.start --zone_name internet")
cucchiaiata-cli v1.setting.session.configure --session_id "$S" --configuration.host.network "192.168.1.0/24" \
cucchiaiata-cli v1.setting.session.configure --session_id "$S" --configuration.network "192.168.1.0/24" \
--configuration.host.start "192.168.1.10" \
--configuration.host.stop "192.168.1.100" \
--configuration.dns 192.168.1.2 \