Skip to content

Instantly share code, notes, and snippets.

@janeczku
Created December 13, 2021 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janeczku/82e2653cd889e0c47e6c3e4b437ed4bb to your computer and use it in GitHub Desktop.
Save janeczku/82e2653cd889e0c47e6c3e4b437ed4bb to your computer and use it in GitHub Desktop.
Harvester Network Config Examples
#cloud-config
version: 1
config:
  - type: physical
    name: eth0
    subnets:
      - type: dhcp
  - type: physical
    name: eth1
    subnets:
      - type: dhcp
#cloud-config
network:
  version: 1
  config:
    - type: physical
      name: eth0
      subnets:
        - type: static
          address: 192.168.144.190/24
          gateway: 192.168.144.254
    - type: nameserver
      address:
        - 192.168.144.254
      search:
        - example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment