Rancher OS

From Athenaeum
Revision as of 14:12, 15 January 2019 by James8562 (talk | contribs) (Created page with "category: Linux =Networking= After editing any network settings under /var/lib/rancher/conf/cloud-config.d/ make sure to restart the network container: <pre>system-docker...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Networking

After editing any network settings under /var/lib/rancher/conf/cloud-config.d/ make sure to restart the network container:
system-docker restart network

Example network block:

  network:
    interfaces:
      "mac=00:50:56:9a:86:48":
        dhcp: false
        addresses:
          - 192.168.15.225/24
          - 192.168.15.228/24
        gateway: 192.168.15.1
        mtu: 1500
      "mac=00:50:56:9a:05:2b":
        dhcp: false
        addresses:
          - 192.168.1.123/23
        mtu: 1500
    dns:
      nameservers:
      - 192.168.0.7
      - 192.168.0.8
      search:
      - lab.tsafe.systems
      - mgmt.tsafe.systems
      - corp.tsafe.systems