check-init_gw-b.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #Example file. Removing a stanza will result in system defaults for that section.
  2. #cloud-config
  3. blink_config:
  4. configure: "true"
  5. gateway_cluster_member: "false"
  6. download_info: "true"
  7. upload_info: "true"
  8. ftw_sic_key: "${pass_sic}"
  9. ssh_authorized_keys:
  10. - "${ssh_key}"
  11. system:
  12. hostname: FW-B
  13. #domainname: test.com
  14. #dns1: 10.128.0.2
  15. dns2: 8.8.8.8
  16. dns3: 4.2.2.2
  17. ntp1:
  18. address: ntp.checkpoint.com
  19. version: 4
  20. ntp2:
  21. address: ntp2.checkpoint.com
  22. version: 4
  23. # Please configure interfaces per OpenStack or Generic image instructions !!!!!
  24. #interfaces:
  25. # - name: eth0
  26. # ipv4-address: 192.168.1.35
  27. # subnet-length: 24
  28. # - name: eth1
  29. # ipv4-address: DHCP
  30. routing:
  31. static:
  32. - dst: "${dst-1}"
  33. nexthop: "${next-hop-1}"
  34. - dst: "${dst-2}"
  35. nexthop: "${next-hop-2}"
  36. - dst: "${dst-3}"
  37. nexthop: "${next-hop-3}"
  38. - dst: "${dst-4}"
  39. nexthop: "${next-hop-4}"
  40. - dst: "${dst-5}"
  41. nexthop: "${next-hop-5}"
  42. clishcmd:
  43. - 'set static-route default nexthop gateway address "${gw}" on'
  44. - 'set static-route default nexthop gateway address 192.168.2.1 off'
  45. - 'save config'